Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / little help on understanding 2D game making?

Author
Message
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 21st Oct 2010 20:28
So i have studied EVERY single Text command and started studying 2D game making like Duke nukem 1 & 2, So Few questions

- Where should i start
- How to make/add worlds and backgrounds
- How to make/add characters
- How to make "Save game/ Load Game" systems

I know how to use side scrolling. And make the camera move with the character.

Jp
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 21st Oct 2010 22:17 Edited at: 21st Oct 2010 23:32
(EDIT)

Jp
Kevin Picone
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 21st Oct 2010 23:27
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 21st Oct 2010 23:59
Thanks, but i am still open...
- How to add/make my own characters?
- What script to use to put in music, the one in help menu didn't help for some reason, it says it can't find the music file i put/ same thing with textures

Jp
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 22nd Oct 2010 00:02
oh and the background how to make?

Jp
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 22nd Oct 2010 12:13
Quote: "How to add/make my own characters?"

Google "GIMP", it's like photoshop. You can make your own sprites using this.

Quote: "What script to use to put in music, the one in help menu didn't help for some reason, it says it can't find the music file i put/ same thing with textures"

Make sure you have your textures/music in the same folder as your executable and use "load music" or "load sound" or "load image". If you are having trouble try looking at the help files in your DBP folder (I use them at least twenty times a day!!)

Quote: "oh and the background how to make?"

Again I would use GIMP. It's free and has the added bonus of a funny name!

Good luck!

My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 22nd Oct 2010 16:13
Thanks to both of you, so i can add own characters using sprites : O thanks again. I Always tought that GIMP costs something so never checked it out .
Should i use the "Screen Scrolling" Script for this kind of games?

Jp
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 22nd Oct 2010 21:37
This is my code for now, what to change to make it work because i always get
problems with the end "Command out of place at line 23" im trying to create it like if you press exit it asks "Do you want to end this game Y/N?"

MainMenu:
Ink RGB(255,0,0),0
Box 100,100,200,120
Ink 0,0
Box 101,101,199,119
Ink RGB(255,255,255),0
Text 135,102,"Exit"
Set Text Opaque
Do
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
If Mx>100 and My>100 and Mx<200 and My<120
If Mc=1
Start:
CLS
Print "Do you want to end this program (Y/N)?"
Repeat
I$=Upper$(Inkey$())
Until I$="Y" or I$="N"
If I$="Y"
Endif
Else
Goto MainMenu:
loop

Jp
OldPMan
TGC Store Seller
17
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 22nd Oct 2010 23:10 Edited at: 22nd Oct 2010 23:10
3- if
1- endif





.....already beside..... for all
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 22nd Oct 2010 23:27
Thanks, that would work but it just lags From problem to another...

Jp
My games are free
16
Years of Service
User Offline
Joined: 28th Sep 2009
Location: Under your Bed
Posted: 22nd Oct 2010 23:30 Edited at: 11th Jan 2011 15:05
(edit)
ok i know now how to make backgrounds

Quote: "Google "GIMP", it's like photoshop. You can make your own sprites using this."

can you link me into some video tut making game characters by sprites
(edit)
okay. actually got the idea of making sprites, but gimp is pretty complicated

Login to post a reply

Server time is: 2026-07-22 06:44:30
Your offset time is: 2026-07-22 06:44:30