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 - yaKC

#1
Ooh i like the interface, i was just reading an ancient document about plotters earlier and it reminded me of those circular roving ones they paired with Logo at schools.
#2
I've been working on a game for a few years using GetPixel, however I'm stuck at around 60 checks max per frame as it's really slow, I read that it transfers the framebuffer everytime you use it. Is there anyway to use Lockbits, or Getpixels (multiple) so that i only need to transfer once? Or perhaps a way using OpenGL?
I can use a 1 pixel sprite collsion as analternative with an image but this game really needs live info from the screen. not the whole screen just around a 32x32 area around the player.
Thanks in advance if anyone has a solution :D
#3
Thank you spacefractal for all your work, also theI saw your game suggested twice on Steam lately, was nice to know it's GLBasic :)

Sent from my 01v21_v89_gq3008s_89t_5g using Tapatalk

#4
A lot if indie devs report 30% sales from Mac, 1% Linux on Steam so Mac is viable for sales compared to the mess that it Android/IOS stores.

Sent from my 01v21_v89_gq3008s_89t_5g using Tapatalk

#5
That looks really nice, funny how some particles and a tune lifts even old classics.

Sent from my 01v21_v89_gq3008s_89t_5g using Tapatalk

#6
These must have taken some work, nice one! Network coding looks scary, testing must be a nightmare unless you have two computers.

Sent from my 01v21_v89_gq3008s_89t_5g using Tapatalk

#7
Thanks for the answers and welcomes :)

I've start converting most of my draw commands over to Polyvectors (which i also love), i have quite a lot of big textures (640x360ish), 11 or so which worries me about texture size, as in a sprite atlas.

When people refer to draw calls, do they mean switiches between sprite atlases then rather than the number of say Polyvectors would actually be used for many sprites, this has always confused me.
#8
Does GLBasic batch sprites as i believe Unity does, or if not has anyone had any success in doing so?

Awesome language btw :D
#9
can I just +1 this topic :) I'm another that's writing an integrated picture viewer/mp3 player/audiobook player although in my case for the GP2X F200, have a really nice UI so far but realise that without the ability to pause/unpause and select a start position for mp3's that sadly noone apart from myself will use my app, a shame after 3 months of work, I'm used to developing applications back in the day and really hope that GLBasic will allow me to not be tied to only games...
#10
hiya :) I just wanted to say that I've been ill last few days so not posted, as I find it hard to multiquote at the best of times etc etc, but will reply hopefully tommorrow and just wanted to say how refreshing it is to see so many points of view and also how I appreciate the level of detail people have gone into ;) didn't realise this was such a friendly forum :D

thanks a lot !
#11
Can I just ask please about peoples style of coding, does anyone like I am doing (as a beginner) just code the whole thing in one file and not use functions, i.e. I make everything Global and have my routines just laid out and skipping them sometimes by GoTo and using labels... I know this is probaly bad programming pratice and I did have experience on SAM Coupe 8-bit with procedures and similar in AMOS on the Amiga but I am the only person coding like this as I learn GLBasic, will I eventually have to code my projects again if they grow too large due to this?

Also, would be very inerested to know how silly it is making everything global, especially if I'm guessing correctly by not using functions and having my projects just in one long laid out way I probably don't need to make my variables Global ?

And when I've Dim'ed arrays I get an error if I then try to make that array Global IIRC from when messing around, does the dimensioning of an array make it automatically global?

thanks for any views :)

edit:- just so I don't need to make a new topic...

Is it possible to load jpg's into GLBasic in anyway, or GIF's? I'm writing a picture viewer (and gonna be starting an art package soon) and whilst it's nice to load BMP's (especially a few) and be able to see the type of memory they will need internally the thought of not being able to view or load jpg's and GIF's is a bit worrysome to say the least.
#12
my current GLBasic program has just broke 10,000 lines of code at about 650K for PC and 3 Meg for GP2X version, although there's comments in there so actual commands used is hitting 5000, I was quite excited (read VERY :) ) to break the 10,000 lines the other day... my biggest project in the past was 20,000 on a 6 Mhz 1/2 512K SAM Coupe so really wanting to break that ;) 
#13
I'm having trouble understanding how to use PolyVector, I can't seem to see
what coordinates are being given and how to draw a simple oblong sprite :(


from the help file

STARTPOLY 1001 // Bitmap = No.0
  POLYVECTOR   0,   0,  0,  0, RGB(255, 255, 255)
  POLYVECTOR   0, 300,  0, 64, RGB (255, 255, 255)
  POLYVECTOR 300, 300, 64, 64, RGB(255, 255, 255)
  POLYVECTOR 250,  50, 64,  0, RGB(  255, 255,   255)
ENDPOLY

All I would like to be able to do is draw a sprite that is say
160 pixels by 110, but don't know what the above is doing, do
I have to draw a box/square/oblong using triangles as I
thin? It says you have to enter coordinates anti clocwise too..

Would be VERY VERY grateful if someone could help me please :)

sorry, figured it now now :D With not nowing anything about this command and 3D etc I had
the idea that You had to use triangles, which I didn't need, can't belive I was confused hehe :D


#14
Ozden79, if the scrolling is smooth with the occasional stutter/jump could it be that you have the game locked at 60 fps and your monitor refresh is set to 70 fps or some other than 60 fps value?

It sounds like when you run an old emulated PAL system with a game requiring 50 fps update on a monitor at 60 or 70 fps refresh whereby it's smooth with the occasional stutter... just a thought :) good luck
#15
I got a ZX Spectrum +2 for Christmas '87... used to type the listings from the manual and magazines (Your Sinclair, Crash and Sinclair User (+ the occisional ACE pink pages puzzles they used to have)... also presing escape/break on basic games or MERGE'ing thm in to access the code.

Didn't really start coding my own stuff 'til I got a SAM Coupe... slow but faster thana Spectrum for Basic.. loads of coding later (games, utilities and applications) got an Amiga with AMOS...

GLBasic is the first thing I've come across since getting a PC 10 years ago that comes close to a proper Basic for me.. let the good times roll ;)