Game test v0.01

Advanced game related topics
User avatar
minimy
Addict
Addict
Posts: 894
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Game test v0.01

Post by minimy »

Carm3D wrote: Thu Feb 26, 2026 7:10 am I love it! How did you get physics working? Did you import the Bullet library?
Thanks Carm, Bullet is include in purebasic. CreateEntityBody
If translation=Error: reply="Sorry, Im Spanish": Endif
Carm3D
Enthusiast
Enthusiast
Posts: 196
Joined: Mon Feb 17, 2025 10:04 am

Re: Game test v0.01

Post by Carm3D »

minimy wrote: Thu Feb 26, 2026 12:12 pmThanks Carm, Bullet is include in purebasic. CreateEntityBody
Oh... (looking around nervously) Yeah, I knew that...
User avatar
minimy
Addict
Addict
Posts: 894
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Game test v0.01

Post by minimy »

Testing the dummy truck in an small travel for the big land.
The post fx is just to know if is playable in comic mode.
Personally, I really like this effect, since it reminds me of some comic artists from the 80's.

https://youtu.be/wUS2ooBKub0
Image

Thanks friends for the support! 🤟
If translation=Error: reply="Sorry, Im Spanish": Endif
User avatar
idle
Always Here
Always Here
Posts: 6226
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Game test v0.01

Post by idle »

That's looking good, the physics is working well and I like the shader effect. :D
User avatar
minimy
Addict
Addict
Posts: 894
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Game test v0.01

Post by minimy »

Hey idle, thanks! Old school for ever! :lol:

New test truck in the badlands :lol:
Now have poles with cables.
Improved Km/h now is the real wheel speed, im working in real advance speed.
Dust and fog added.
Unhook container added, with a key and when the terrain/speed force it.

https://youtu.be/pmoT8qeGrTw
Image
Thanks friends for the support! 🤟
If translation=Error: reply="Sorry, Im Spanish": Endif
User avatar
idle
Always Here
Always Here
Posts: 6226
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Game test v0.01

Post by idle »

love the dust plume it could also add an interesting element to the game where you can't see yourself or another player from the drone views.
User avatar
SPH
Enthusiast
Enthusiast
Posts: 636
Joined: Tue Jan 04, 2011 6:21 pm

Re: Game test v0.01

Post by SPH »

Is there a 3D scene version?
For now, we only have static images.

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
minimy
Addict
Addict
Posts: 894
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Game test v0.01

Post by minimy »

SPH wrote: Sat Feb 28, 2026 10:36 pm Is there a 3D scene version?
For now, we only have static images.
Hi SPH, what you mean with static and scenes?, the thread includes images and videos. Are you talking about scene like blender scene?. :?
All is created with code, the only external mesh is the buildings, but go to change too.
If you are asking about the code, Im sorry, but this is a commercial project. May be i share parts of the code when finish the project.
This is the work of more than six months and thousands of hours of work and research, with many blocks of code, now im ensambling all.

Thanks friend! :D . Of course Idle, the idea is that you have little information about the environment until you find or buy a map, the same goes for npcs, until you have a radar you won't know who is nearby. For now the map is 20x20Km this enhances research in the game.

What is the point of this thread?.
1) Demonstrate that purebasic is suitable for creating games of all types. Although the AI says otherwise. :mrgreen:
2) Demonstrate that complex things like open world are possible. I haven't seen anything like it on the ogre or purebasic forums.
3) Get rich and dedicate myself to what I like, create video games. Just kidding, I have a great time experiencing the possibilities of purebasic. :lol:

Special thanks to Carm3D for the trees, which although they have not been included in this project (because the trees are procedurally generated for performance reasons), are of great artistic quality. Plus they are too pretty for the style of the game. :wink:

This example video include trees, terrain, vehicle, clouds, water, poles and cables.
https://youtu.be/2cI-kNi4MvY
Image

Thanks friends for the support! 🤟
If translation=Error: reply="Sorry, Im Spanish": Endif
benubi
Enthusiast
Enthusiast
Posts: 254
Joined: Tue Mar 29, 2005 4:01 pm

Re: Game test v0.01

Post by benubi »

Hehe! I read idle's post back on Feb 27 and wanted to write under it and ask when you will add dust plumes and tracks. But then I didn't want to add pressure and I "knew" you would do it one day somehow, then I had to laugh that you were so fast at doing it, and that I was shy about asking. :lol:
Mui bien! [Insert party/dance smilies here]

I'm doing little "research" and thinking about smart objects and wonder how you'd implement them, if. I have half a solution theoretically using the skeleton reader I posted but I lack the other half in my brain; the animation would be "stored" in an other skeleton smart_object.skeleton and then played with a hand crafted procedure frame by frame with custom UseSmartObject(Entity, SmartObject) kind of procedure; the procedure then will play the animation "manually" directly changing the bone rotations according to the keyframes using interpolation. But that would be only the animation part, I guess there must be a scripted/XML-ed/other configurable aspect to change world states (i.e. thristy/hungry etc.). The smart object itself only needs 1 bone, if any, or "slot" that will be used by the entity. A sitting bench in the park would have 2 or 3 slots for multiple users etc. I wonder if that can be done totally without scripting, using only "templates" but I don't think so because there might be simple checks necessary, and post processing - but this could also be done in pre-defined procedures.

SmartObject(ObjectEntity, OnCheckCanUse$, OnStartUse$, OnWhileUse$, OnFinishUse$, flags)

Somewhere there's perhaps a smartobject.config that simply contains the names of the used procedures, or a mini-script e.g. CheckCanUse$="(Slot=free AND Me=thirsty);" or the procedure to be used - OnCheckCanUse$="CheckCanUseSoda()". The procedures must then be declared with Runtime keyword, like in PB's Dialog library, and they will need extra parameters for the user & the smart object itself. One way or an other I believe this will lead to having key-value storage somewhere, like a blackboard, to favor over dedicated structures (i.e. structure SodaCan) etc.

That would be my idea for now how it could be done without writing behavior trees + scripting engine (I suspect BT's without scripting won't help much if every a<b must be written in separate runtime procedures that also need to be maintained in the code)...
User avatar
minimy
Addict
Addict
Posts: 894
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: Game test v0.01

Post by minimy »

@benubi, thanks for the idea, is really good.

This is my auto cut roads, because a road can be very, very long, i did this system to cut the roads in sectors, this is nice for LOD and hide objects whe are far. The idea is simple but to make this is very hard. Is a pseudo bolean operation to cut the mesh.

Include an small loop music theme what i did from the game, for the album 'BadFuture', this will be the name of the game.
You can see the cutter in action here in the video.
https://youtu.be/tbe1HHsdBTg
Image
Thanks friends for the support! 🤟
If translation=Error: reply="Sorry, Im Spanish": Endif
miso
Enthusiast
Enthusiast
Posts: 712
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: Game test v0.01

Post by miso »

Very cool feature. Also the title name is appealing. ;) Good job!
Post Reply