Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - joeb11666

#1
I haven't seen a post about this so here it is. If there is then I missed it.
I've been playing around with the Tile Studio demo for Dark Basic Pro and have adapted it to GLBASIC for those who are interested. I have also set up a GLBASIC.tsd (a code exporter) for Tile Studio. I haven't optimized it just made it work in GL. You have to put the GLBASIC.tsd file in the TileStudio directory. It will then allow you to auto create an include file for GL with your map, bounds and animations. It also creates the .png tile graphic files for you, you just need to move any .png to the .app folder. I need to go over the code because the variable declarations aren't right so they are not explicit in the project but it works even though there are warnings. I haven't tested with another map set, different resolutions, bigger maps, more map layers... you get the idea.
I used DRAWANIM to paste sprite but I want to try POLYVECTORS. I'm also thinking about creating a file loader instead of the DATA in the program.

Feedback is definitely welcome.

Happy Holidays
Joe



[attachment deleted by admin]
#2
Quote from: Ragaril on 2011-May-24
Good. Worked for me - just needed to declare some Globals.

FPS hits 500 max on my 320m Nvidia card. When looking at the top left part of the map the FPS drops to about half that. The further away I am from the top left part of the map the more FPS improves. My guess is the routine is trying to draw many tiles off-screen in proportion to how top and left the map viewer is.

One possible optimisation could be to change DRAWANIM so that it uses POLYVECTOR instead. A way to load map data from a file would be great too.

Thanks for the reply.
Globals yes, I really should get in that habit. I lazily change the project option explicit declarations.

As for the framerate drop, this...
IF (x>-256 AND x<maxmapx) AND (y>-256 AND y<maxmapy)THEN DRAWANIM 3,q.tile,x,y
was suppose to fix that, doesn't seem to do anything. I actually added it because I wasn't sure if drawing that many sprites off screen would any corrupt memory. I can't tell why, I'm no expert in GLBasic.

This code is really just me testing a different way to do 2d tile maps. I did pretty much the same code in DarkBASIC Pro using its 2d map plugin and I get better results from this. I will be adding a load file data, animated tiles and look into POLYVECTOR. POLYVECTOR is faster?

I also need to figure out collision.
#3
I was looking for a way to put TileStudio maps into GLBasic and only found the Mappy code. I was going to convert the DarkBASIC Pro code that is generated but that seemed clunky and slow.(didn't do it so it may be fast??)  I took the map data from it though.
I coded this for something I'm working on, the map is 50x50 with tiles 256x256, excessively large? yes but I did it to see what FPS I could get. On my system I'm getting between 250 and 500 FPS. (I hope I'm using FPS function properly) I had a 10x10 map running at 500 FPS.  It uses the joystick. The 2 attachments are the tile file and font file.

I think I could add animated tiles to it easily.
I would love some feedback.(does it run for you,FPS, improvements...)

Code (glbasic) Select

// --------------------------------- //
// Project: TestTileMap
// Start: Monday, May 23, 2011
// IDE Version: 9.040

TYPE mapp
x
y
tile
ENDTYPE



GLOBAL w,h,mpx,mpy,maxmapx,maxmapy,coll
GLOBAL grav=.981
// GETDESKTOPSIZE w,h  // my desktop is 1920x1080
w=1024
h=768
SETSCREEN w,h,0
LIMITFPS -1


LOADANIM "circle.png",3,256,256
LOADFONT "font.png",0
jn = GETNUMJOYSTICKS()-1
n$ = GETJOYNAME$(jn)
px%=w/2
py%=h/2


RESTORE circleMap2MapData
READ mx,my
GLOBAL map[] AS mapp
FOR y=0 TO my-1
FOR x=0 TO mx-1
LOCAL q AS mapp
READ q.tile
DEC q.tile,1
q.x=x*256
q.y=y*256
DIMPUSH map[],q
NEXT
NEXT
maxmapx=mx*256-64
maxmapy=my*256-64
mpx=0
mpy=0


WHILE TRUE


joyx = GETJOYX(jn)
joyy = GETJOYY(jn)
IF (joyx<.5 AND joyx>0) OR (joyx>-.5 AND joyx<0) THEN joyx=0
IF (joyy<.5 AND joyy>0) OR (joyy>-.5 AND joyy<0) THEN joyy=0

button% = GETJOYBUTTON(jn, 0)


GOSUB drawmap
xspd=xspd+joyx
IF xspd<-5 THEN xspd=-5
IF xspd<0 AND mpx-xspd>0
xspd=0
mpx=0
ENDIF

IF xspd>5 THEN xspd=5
IF xspd>0 AND mpx-xspd<-maxmapx
xspd=0
mpx=-maxmapx
ENDIF
mpx=mpx-xspd

yspd=yspd+joyy
IF yspd<-5 THEN yspd=-5
IF yspd<0 AND mpy-yspd>0
yspd=0
mpy=0
ENDIF

IF yspd>5 THEN yspd=5
IF yspd>0 AND mpy-yspd<-maxmapx
yspd=0
mpy=-maxmapx
ENDIF
mpy=mpy-yspd

PRINT "joyx"+joyx+" joyy"+joyy+" button"+button%+" FPS"+FramesPerSec+"   "+mpx+" - "+mpy+"  ",0,40
FramesPerSec=FPS()

SHOWSCREEN
WEND

END
// ------------------------------------------------------------- //
// ---  FPS  ---
// ------------------------------------------------------------- //
FUNCTION FPS:
STATIC OldTimeReport$,FPSDat,TimeReport$,FPSd
OldTimeReport$=TimeReport$; FPSDat=FPSDat+1;
TimeReport$=PLATFORMINFO$("TIME")
IF OldTimeReport$<>TimeReport$; FPSd=FPSDat ; FPSDat=0; ENDIF
RETURN FPSd
ENDFUNCTION

SUB drawmap:

FOREACH q IN map[]
q.x=q.x
q.y=q.y
x=w/2+mpx+q.x
y=h/2+mpy+q.y
IF (x>-256 AND x<maxmapx) AND (y>-256 AND y<maxmapy)THEN DRAWANIM 3,q.tile,x,y

NEXT
ENDSUB

STARTDATA circleMap2MapData:
DATA   50,50
//     0                          9                             19                            29                            39                            49
//
DATA   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1  // 0
DATA   1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1
DATA   1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1
DATA   1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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leted by admin]
#4
I use Fraps, its free to use for short video capture and it uploads easily to youtube.
#5
After 2 weekends with GLBASIC I've finished my remake =D, GLB is awesome! :good:
It just made everything I was trying to do in Emergence BASIC and DarkBASIC Pro easier.

Anyone who wants to try it(please it would be nice to know how it works on other machines), you can get it at my website.

www.retroactivegames.com

Thanks  :nw: Gernot for GLB, it is worth every cent.


Thanks for reading
Joe
#6
Who reads the instructions to anything? :-[

I was assuming it would be something I wouldn't have to worry about.
Thanks
#7
I just got GLBasic; moving on from Emergence Basic(IWBasic now) and I'm converting my half done remake of Cloudburst to GLB. (see my site www.RetroActiveGames.com for what I'm talking about and video progress)
I've seen the Shootemup HOWTO video here and it is extremely helpful. I finally understand TYPES!!! I would suggest to anyone having trouble with GLB just check http://www.glbasic.com/forum/index.php?topic=936.msg4759#msg4759
Anyway...
I really wanted to ask...
How are arrays[] handled when DIMPUSH or DELETE is called?
What happens to an array[1] thru array[5] when DELETE array[3]? Does the array[] shrink? or Position 3 just skipped?

I'm hoping GLB handles it so I don't have to worry about memory and keeping track of what was destroyed. I'm about to add enemies and drops and explosions. See my old example video to see how crazy it gets.

It will also be good to understand how I can limit these instead of having them open ended as in the Shootemup vid.

I'm really liking GLB, I purchased and been programming with it for 2 days, the conversion is going pretty fast.

Now I just need to finish it!

Joe