Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > The Lounge

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Reply
Posted 2011-01-17, 10:15 AM in reply to Goodlookinguy's post starting "Make games. I've written a social..."
Goodlookinguy said: [Goto]
Make games. I've written a social networking script with all of the shit. Then guess what, I did nothing with it and it's sitting on my hard drive. Making games is a lot more fun, that is unless you aren't programming the site. But with that post I got the impression you were. And game making isn't terribly difficult, just creative and a bit time consuming.

If you want me to go into details, PM me or something. (Edit: I guess I should specify, I mean literal game programming, not like RPG Maker game making)

----

Fuck yeah, my map system and its multidimensional array map tile IDs.
Code

Code:
Local MainMap:TMap = New TMap
MainMap.LoadTileset("./imgs/ground.png")
MainMap.MakeMap(1, ..
[ ..
 [  2,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  4], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  9,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  7], ..
 [  5,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  8,  3]  ..
] ..
)

Local preLogicMilliSecs% = 0
Local drawMilliSecs% = 0
Local postLogicMilliSecs% = 0

Local GameOver:Int = False

While (Not GameOver)
	If (KeyDown(KEY_ESCAPE)) GameOver = True

	'FPS Calculation
	glbFPS.Calc()
	
	' Pre Logic (60 / sec)
	If (MilliSecs() - preLogicMilliSecs > 16)
		preLogicMilliSecs = MilliSecs()
	End If
	
	' Draw (30 / sec)
	If (MilliSecs() - drawMilliSecs > 33)
		Cls
		
		MainMap.Draw()
		
		'FPS Displayer
		glbFPS.Display()
		
		Flip
		drawMilliSecs = MilliSecs()
	End If
	
	' Post Logic (60 / sec)
	If (MilliSecs() - postLogicMilliSecs > 16)
		postLogicMilliSecs = MilliSecs()
	End If
	
	Delay 1
Wend

End

Thanks for the tips. I will do so, or at least look into it.














Quote:
!King_Amazon!: I talked to him while he was getting raped
[quote][16:04] jamer123: GRRR firefox just like quit on me now on internet exploder[quote]
...
[quote=!King_Amazon!]notices he's 3 inches shorter than her son and he's circumcised [quote]
Old
Profile PM WWW Search
D3V is convinced there are no coincidences, only the illusion of coincidencesD3V is convinced there are no coincidences, only the illusion of coincidencesD3V is convinced there are no coincidences, only the illusion of coincidencesD3V is convinced there are no coincidences, only the illusion of coincidencesD3V is convinced there are no coincidences, only the illusion of coincidencesD3V is convinced there are no coincidences, only the illusion of coincidences
 
 
D3V
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What are your thoughts on this? Thanatos General Discussion 14 2007-07-19 01:24 PM
My real thoughts on Kobe vs Michael Demosthenes General Discussion 14 2007-01-13 11:01 PM
Just Some Thoughts on Tupac Demosthenes General Discussion 4 2006-09-28 09:45 PM
On Suicidal Thoughts Demosthenes General Discussion 23 2004-11-17 03:04 PM
thoughts plz vec Science and Art 6 2002-11-05 09:04 PM


All times are GMT -6. The time now is 04:51 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.