Author Topic: adventure game engine  (Read 7590 times)

0 Members and 1 Guest are viewing this topic.

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
adventure game engine
« on: March 16, 2019, 12:05:12 pm »
Hey all :)

I'm rebuilding an old game engine of mine with some great improvements that can make it easier for people to quickly create content for it. I encourage anyone to have a play about with it. So far it should hopefully keep the player character within map boundaries and outside objects, no matter the size of the sprites or window resolution used. Also a new layer system that adds some depth to the world too, allowing the player character to walk behind objects.

Have a go at making some players, objects and maps of your own. Open the game prompt and change some values, go crazy. There kind of a manual in the .zip file attached that can help people tell what values are in which files if you're having trouble figuring out my awful code. :)  There is also a console (vameconsole.bas) that can help troubleshoot any issues you may be having.

There will be plenty more features coming soon :)

Put the data folder (in the zip file) in your QB64 folder.
Put the vameconsole executable in the data folder (if you wish to use the console).
Controls-
ARROWS - Move
\ - Open Prompt
I - Inventory
SPACE - Interact
Q - Quit

Latest Update
« Last Edit: January 27, 2020, 06:35:58 am by pforpond »
Loading Signature...

Offline Ashish

  • Forum Resident
  • Posts: 630
  • Never Give Up!
    • View Profile
Re: adventure game engine
« Reply #1 on: March 17, 2019, 05:35:08 am »
Hi roadbloc! Good to see you...
Its nice! Are you planning for the next part of the game?
if (Me.success) {Me.improve()} else {Me.tryAgain()}


My Projects - https://github.com/AshishKingdom?tab=repositories
OpenGL tutorials - https://ashishkingdom.github.io/OpenGL-Tutorials

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #2 on: March 17, 2019, 10:55:50 am »
Hi roadbloc! Good to see you...
Its nice! Are you planning for the next part of the game?

Hi Ashish! Good to see you’re still about :)
I’m planning on making a whole new game entirely... with cats! But my engine needs a massive tune up first.
Loading Signature...

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: adventure game engine
« Reply #3 on: March 18, 2019, 08:50:08 am »
Hi pforpond

fine engine, it must be put at work!

From your code I see you like LET keywords. !?
Does it LET to distinguish well between  assigment and comparison? Fine idea.
« Last Edit: March 18, 2019, 10:22:09 am by TempodiBasic »
Programming isn't difficult, only it's  consuming time and coffee

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #4 on: March 19, 2019, 04:41:21 am »
Does it LET to distinguish well between  assigment and comparison? Fine idea.

That’s correct. Just makes it easier for me to tell what is going on in my code, though some people seem to dislike it for whatever reason. :)
Loading Signature...

Offline Jack002

  • Forum Regular
  • Posts: 123
  • Boss, l wanna talk about arrays
    • View Profile
Re: adventure game engine
« Reply #5 on: March 19, 2019, 10:55:28 am »
Let is the appendix of Basic. It does no harm, it does not good. :)
QB64 is the best!

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #6 on: March 20, 2019, 12:55:28 pm »
Some new updates... tweaks to the object collision, support for invisible triggers and a new scripting feature. Both maps are linked with exits that demonstrate the invisible triggers and the scripting feature.
« Last Edit: April 04, 2019, 06:01:26 am by pforpond »
Loading Signature...

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: adventure game engine
« Reply #7 on: March 20, 2019, 06:31:02 pm »
Hi
last time I have missed two little feedbacks
1.  here
Quote
$EXEICON:'data\icon.ico'
I must add .\  to let to find icon in the right path

2. just after press F5 the window of the application is so small
but pressing the combokey of windows Alt+Enter I get fullscreen and now it is ok
Programming isn't difficult, only it's  consuming time and coffee

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #8 on: March 21, 2019, 08:32:05 am »
Hi
last time I have missed two little feedbacks
1.  here
Quote
$EXEICON:'data\icon.ico'
I must add .\  to let to find icon in the right path
Thank you for spotting this!

Quote
2. just after press F5 the window of the application is so small
but pressing the combokey of windows Alt+Enter I get fullscreen and now it is ok
The window is super small because of the small resolution images I'm currently using. The window should be resizable to your preferred size. Alternatively if you set the second value in /data/saves/savedata.ddf to 1, this will make the game launch in full screen mode by default. I will be adding an option in the main menu to toggle windowed/fullscreen modes in a future update. :)
« Last Edit: March 21, 2019, 07:38:08 pm by pforpond »
Loading Signature...

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: adventure game engine
« Reply #9 on: March 22, 2019, 04:30:28 pm »
thanks
Programming isn't difficult, only it's  consuming time and coffee

Offline qb4ever

  • Newbie
  • Posts: 40
  • LOCATE 15,15: COLOR 14: PRINT "Hello World!"
    • View Profile
Re: adventure game engine
« Reply #10 on: March 24, 2019, 06:06:18 am »
Hi pforpond,

interesting engine !

Congratulations.

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #11 on: April 04, 2019, 06:00:22 am »
Hi pforpond,

interesting engine !

Congratulations.
Thank you! I hope it continues to get even more interesting for you! :)

I have a new build here. It comes with bug fixes, music and sound effect support, a slightly updated main menu and more commands added to the script feature. I've also added a demo script to showcase some of the new features, just press '#' whilst in game and type in 'script demo' (the demo will loop indefinitely, just close the game and relaunch to stop it).

Hopefully in the next update I'll have some NPCs roaming around the maps x
« Last Edit: July 27, 2019, 02:23:47 am by pforpond »
Loading Signature...

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #12 on: July 27, 2019, 02:22:01 am »
New update!

Now with basic NPC support. NPCs now wander map2, complete with object collision. Sorry for the wait x

All feedback is much appreciated :)
« Last Edit: August 11, 2019, 05:36:07 am by pforpond »
Loading Signature...

Offline SierraKen

  • Forum Resident
  • Posts: 1454
    • View Profile
Re: adventure game engine
« Reply #13 on: July 27, 2019, 12:54:29 pm »
Pretty cool! Someone can make this into a great game.
Do you still use the REM command? That's an old 80's command which was replaced in QBasic and later QB64 with just using ' in front of the worlds. For example:

' This is a remark about the game.

It uses 2 bits of less memory I think, so not much help but it does give less to read in the code. For future programs you make if you want.

Offline pforpond

  • Newbie
  • Posts: 76
  • I am me
    • View Profile
Re: adventure game engine
« Reply #14 on: July 28, 2019, 05:16:54 am »
Pretty cool! Someone can make this into a great game.
Thanks! I plan to make a game of this someday myself, though anyone is welcome to pay around with my engine themselves for their own stuff :)
I did once make an attempt to make a game from a previous and kinda similar engine of mine, but regretfully I found it too restrictive and difficult to use, so now I'm rebuilding it with many improvements. If you're interested you can check out the game here it should give you an idea of where I'm taking the engine.

Quote
Do you still use the REM command? That's an old 80's command which was replaced in QBasic and later QB64 with just using ' in front of the worlds. For example:

' This is a remark about the game.

It uses 2 bits of less memory I think, so not much help but it does give less to read in the code. For future programs you make if you want.
I still use REM because I prefer it I guess, makes my comments more visible to me. I use the ' to temporary blank lines out of my code as needed. You may have noticed I still use LET too... I just feel more comfortable using them. :)
« Last Edit: July 28, 2019, 06:14:55 am by pforpond »
Loading Signature...