Tired of making games/apps alone? Then join the Dynecys group! www.dynecys.rr.nu
These are wanted there: Artist, BETA tester, programmer(mmf,tgf,.asp,.jsp), help file-writer and game maker<-(most wanted)
Nice site, but what else does your group have that the other groups don't have?
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
yeah i would like to have someone to help with this:
Global Start_time# = MilliSecs()
;Tile
Global tile_width = 42
Global tile_height= 14
Global tile_depth = 22
Global t_halfwide = tile_width / 2
Global t_halfdeep = tile_depth / 2
;Cursor & cam
Global cam_x = 0
Global cam_y = 0
Global cam_x_speed = 0
Global cam_y_speed = 0
Global cursor_x = 0
Global cursor_y = 0
Global cursor_z = 0
Global cursor_real_x
Global cursor_real_y
;Screen
Global screen_width = 640
Global screen_height = 480
Global screen_depth = 16
Global screen_img_width = 200
Global screen_img_height = 200
For scene_img.img = Each img
If is_point_inside_rect(x,y,scene_img\x,scene_img\y,scene_img_width + tile_width ,scene_img_heigh + tile_height + tile_depth)
scene_img\needs_update = 1
End If
Next
End Function
Function crate_cursor(x,y,z)
cursor_x = x
cursor_y = y
cursor_z = z
in_zone.tile = New tile
in_zone\x = x
in_zone\y = y
in_zone\z = z
in_zone\screen_x = (x * t_halfwide) - (y * t_halfwide)
in_zone\screen_y = (y * t_halfdeep) + (x * t_halfdeep) - (z * tile_height)
in_zone\gfx = cursor_gfx
If is_point_inside_rect(cursor_x,cursor_y,scene_img\x,scene_img\y,scene_img_width + tile_width ,scene_img_heigh + tile_height + tile_depth)
scene_img\needs_update = 1
End If
Next
End If
End Function
;MOVE CURSE FUNCTION END_ its a bit long function
Function crate_on_keyhit()
If KeyHit (57) Then crate_in_zone(cursor_x,cursor_y,cursor_z,sand_gfx)
End Function
Function is_point_inside_rect(x,y,rect_x,rect_y,rect_width,rect_height)
a = 0
If ( x > rect_x And x < rect_x + rect_width And y > rect_y And y < rect_y + rect_height )
Darn it, Dogzey, take your code somewhere else. Putting up all that bare code is as bad as porn to some people around here.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
An old account of mine, recently cleared out. It's a blast to the past, the age was marked as 14 when I found it. If you know where to look, you can track me. Au revoir.
I might join, but what I want to know is: what are you working on? Anyway:
I know: TGF/MMF, TrueBasic, Visual Basic.
Strenghts: Fighting engines and coding.
Dogzer if you put a link instead anyone interested could see your code, and all the others could navigate this topic faster. Dont you think such a question should be in the help section?
Actually, I find making games alone the best solution. I had bad experiences working on games with other people. Mainly, their work being the opposite of what I want/need or them not doing anything, disappearing for months and such.
<a href="http://lachie.phatcode.net">The Maker Of Stuff</a>