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.

Geek Culture / [STICKY] The Posting Competition

Author
Message
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 16th Dec 2009 10:35 Edited at: 16th Dec 2009 10:57
Quote: "Still runs around 900-1000 fps uncapped."

thats a Crazy FPS Fate, i get about 50, although if yours is running in full screen exclusive move, then it does increase the FPS Rate quite a bit, whereas i opted for windowed.

Also, i've added BSP Loading, Does anyone even use BSP's now?

Edit: I found an example on how to load an FPS Level thourgh DBPro, Im going to try and load an FPS Level in the editor

Edit2: Managed to load last compiled project in FPSC, but without texture, this is nice, so you can make the general level layout in FPS, then load in mine to customize specificley for DBPro, i'll take a break now, then try to get the textures loaded aswell.


Everyone Be Cool, You, Be Cool.

Attachments

Login to view attachments
Happy Cheesecake
16
Years of Service
User Offline
Joined: 16th Jun 2009
Location: My non-vice-presidential refrigerator.
Posted: 16th Dec 2009 12:38
Bingo. Derp-a-derp.

Neuro Fuzzy
18
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 16th Dec 2009 14:37
Quote: "Resolved a couple other issues with multi-selecting, and figured out how to always select the rotation controls, even if they are behind other objects, without significantly lowering the framerate. Still runs around 900-1000 fps uncapped."


FEAST YOUR EYES ON THIS POST, FOR IT IS THE 12345TH!

MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 16th Dec 2009 14:44
i cant find my copy of darkbasic, so i've been using the trial version, i've just updated from that to the free version, any my FPS Rate Doubled, it also shaved about 1.5MB off the size of the EXE, and its loading\running quicker.

Until i can buy a new copy, im happy now

Everyone Be Cool, You, Be Cool.
Neuro Fuzzy
18
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 16th Dec 2009 14:48
wow, that's cool

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 16th Dec 2009 15:01
Quote: " although if yours is running in full screen exclusive move, then it does increase the FPS Rate quite a bit, whereas i opted for windowed."


I've been running it in 1024x768 windowed so far, but I tested the GUI a couple times at 1600x1200 and 1920x1200 to see if everything still laid out correctly. You are right, though - running it fullscreen at 1024x768 puts it over 1200 fps on average. All of these numbers are with no objects selected - selecting one drops the framerate about 50 fps on average because of the extra calculations, but selecting additional objects doesn't affect it too much.

Also uses about 45MB RAM and 50% CPU at idle, dunno if this is a bad thing or not. Those numbers have remained about the same since I started checking a while ago, though. Maybe it's just a DBPro thing.

I will live forever or die trying.
My game blog
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 16th Dec 2009 16:22
I dont know why, but all my DBApps tend to run the CPU at a high rate, i think thats just DarkBasic, as for the memory, i would think that would just the result of loading objects\images, ect, and how DarkBasic stores them in memory.

I've just altered the terrains mine loads so now instead of the old terrains, it creates the new object terrains which seems to have fixed a problem I was having with texturing, (See Attached Pic), but it is still limited to loading 1 terrain, will change that at some other point, as i need to find out how to pick it with the mouse first, But first next up is linking my properties window, so you can change properties from that, thats a biggy, and will proberley take me all night, (I've been putting it off).

PS: Im now getting about 100fps, but this is a crappy laptop im doing this on so thats proberbley why

Everyone Be Cool, You, Be Cool.

Attachments

Login to view attachments
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 16th Dec 2009 20:44
@MSon
Just add 'nice sleep 1' to your main loop (IanM's command) and the CPU usage will go down to normal.

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 16th Dec 2009 21:04
@Diggsey: This works on mine, processor usage goes down to about 4% or less at idle. However, if I set sync rate 0 then the framerate hardly rises above 65, as opposed to 1000+. This isn't really an issue I guess, since it will be capped at 60 for the end result.

I will live forever or die trying.
My game blog
Melancholic
15
Years of Service
User Offline
Joined: 26th Nov 2009
Location:
Posted: 16th Dec 2009 21:13
I can has points?
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 16th Dec 2009 21:37
@Venge
'nice sleep 1' will reduce the maximum FPS to 1000. However, if you have processor intensive applications running in the background, the 'nice sleep' will last a lot longer than 1 millisecond, because the other applications are not handing back control for a long time, and so you will get a lower FPS. For an end-user, it is much less likely that they are going to have an IDE, web browser, etc. open at the same time as the game, and so they should get higher FPS.

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 16th Dec 2009 21:41 Edited at: 16th Dec 2009 22:34
How is this different from putting "sync sleep 1" at the beginning of my program? If I do that, the maximum FPS rises to about 300 with 4% processor usage.



Edit...
Had to rewrite my GUI a bit to encompass the growing amount of buttons, but it also gave me the chance to rewrite my sprawling function for selecting buttons. Much easier to read and expand now, and fully group-ready. I just have to make some buttons for grouping/ungrouping, and a couple little functions thereof.

I will live forever or die trying.
My game blog
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 16th Dec 2009 23:39
Got my old job back over christmas

Means I've got to actually do work and suchlike though.

Also just went and got this bad boy - Christmas present from me parents. Can't wait for Christmas now...

Yodaman Jer
User Banned
Posted: 17th Dec 2009 00:37
So, I have to re-write my editor due to some problems with the file saving routine. I got it to save the info, just not the right info. For example....



Those are three separate objects, all in a different location, but the file saving routine saved each object with the location of the last object the user has clicked on in the editor. I've no idea what's causing it, but it doesn't matter since I'm reprogramming the whole program anyhoo.

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 17th Dec 2009 00:40
Without a little more code I don't know what's causing that to be honest, but if you're rewriting I guess it doesn't technically matter. On the other hand, I wouldn't leave an issue unresolved because if it crops up again you'll know how to deal with it...

Yodaman Jer
User Banned
Posted: 17th Dec 2009 00:48
Saving routine:



Output in the actual file:


demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 17th Dec 2009 00:52 Edited at: 17th Dec 2009 01:02
That's because you're overwriting objposx1# etc every time in the loop. The only value saved is obviously going to be the last one. Try putting the rest of it inside that loop, like this:



EDIT: Added some commenting

EDIT again:
Basically, this was your problem.


Every time this loop iterates, it overwrites the values with the newest ones. Therefore, no matter what the position of the other objects, only the data of the last one will be stored

Then, when you call this loop

every single piece of information is being overwritten.

Also for compactness, could you not just do:


Yodaman Jer
User Banned
Posted: 17th Dec 2009 01:05 Edited at: 17th Dec 2009 01:06


Thanks! I can't believe I didn't realize that I was overwriting the information. Blah.

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 17th Dec 2009 01:13 Edited at: 17th Dec 2009 01:15
Ah it's alright mate, everyone does that sort of thing. You just need to step back and look at it from a distance sort of thing. This is why other people can solve things quicker sometimes... You still retain your earlier thought processes when you're analysing your code looking for bugs.

(edit for punctuation so it sounded less like breathless, stream-of-consciousness writing and more like actual coherent sentences.)

AndrewT
18
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 17th Dec 2009 01:15
Um POINTS.

i like orange
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 17th Dec 2009 01:23
That's all the information you save about your objects? I guess since it's a grid-based platformer it wouldn't need anything else. Have you seen my map files?



I have only made one object so far, for testing purposes. I still have yet to add information pertaining to Newton, and I still have no idea what I'll need for that. I'm assuming mass, bounding box type, maybe coefficients of friction? That's one of the last things I'll be adding to my editor, though, so until then I can just pretend that I know what I'm doing.

I will live forever or die trying.
My game blog
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 17th Dec 2009 01:26
To be fair anything else can easily be added in from where he is if it crops up... although I can't think of what would given the needs of the programme

BMacZero
19
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 17th Dec 2009 01:27
I'm working on Fields right now. I promise!

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 17th Dec 2009 01:44 Edited at: 17th Dec 2009 01:44
I'm not saying that like "Is that all you're doing? Ha! I am so better"

Only it sort of sounded like that huh.

It just surprised me since I'm used to saving more information, but then I remembered we were doing completely different projects. Just for kicks, though:





I will live forever or die trying.
My game blog
Yodaman Jer
User Banned
Posted: 17th Dec 2009 02:36 Edited at: 17th Dec 2009 02:37
I've only gotten the saving of the platforms implemented so far because I just wanted to test out the saving routine. This is all of the information I plan to save in the future:

Platform positions
Coin positions
Enemy/obstacle positions
Power-up positions
Elevator positions
Collision types & sizes
Light types & colors
Music information


I'll probably use "Write Float" for all of the variables as well, so that if a player gets curious and decides to hack into the level files, they'll be in for a surprise.

flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 17th Dec 2009 02:52
my night was...
Super. Terrific. Fantastic. Grandiose. Amazing. Tremendous. Fabulous. Great. Awesome. Stupendous. Astounding. Incredible. Marvelous. Grand. Mind-Blowing. Majestic.

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 17th Dec 2009 02:55


First time I've ever had to count to o. Yeesh. I don't even know if it works, just hacked it out.



....



Sorta works. Oh well.

I will live forever or die trying.
My game blog
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 17th Dec 2009 04:24
Quote: "my night was...
Super. Terrific. Fantastic. Grandiose. Amazing. Tremendous. Fabulous. Great. Awesome. Stupendous. Astounding. Incredible. Marvelous. Grand. Mind-Blowing. Majestic."



Same mate, totally the same.

First night out drinking in...aaaaaages. Mainly because I've been overloaded with work and student finance screwed me over this year. So it was awesome to go out with some awesome mates. But what rules was that we had our course social this afternoon at Uni (basically, wine, beer and biscuits with some entertainment from performers on our course and it was for everybody studying or teaching our course) and that was entertaining...like the Chicken Opera and Genesis told with sock puppets. But the awesomeness was going out with mates...and your lecturers going to the same bars to get wasted and enjoy a night out with some of their students. My mates were awesome fun...got plenty of hugs.

I am still intoxicated, but I am glad somebody else has had a good night too.

MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 17th Dec 2009 07:04
me happy, (See Attached)

Everyone Be Cool, You, Be Cool.

Attachments

Login to view attachments
JZ28
16
Years of Service
User Offline
Joined: 2nd Feb 2009
Location:
Posted: 17th Dec 2009 07:10 Edited at: 17th Dec 2009 07:14
looks very fpsc like

MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 17th Dec 2009 07:19 Edited at: 17th Dec 2009 07:21
it is an FPSC Level which I imported
I think an "Import last created FPSC Level" option will be nice

Everyone Be Cool, You, Be Cool.
Yodaman Jer
User Banned
Posted: 17th Dec 2009 07:58 Edited at: 17th Dec 2009 07:58
Alright, so I changed my file saving routines to use "write float" in place of "write string", and this is the result:



I'm happy! Now gamers won't be able to mess up the official levels in the actual game!

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 17th Dec 2009 16:10
This popped into my head just now.


Mucky Muck Ninja.

I will live forever or die trying.
My game blog
lazerus
17
Years of Service
User Offline
Joined: 30th Apr 2008
Location:
Posted: 17th Dec 2009 17:21 Edited at: 17th Dec 2009 17:22
Quote: "Smile, its going to be fun"


Im putting this, on a shirt, for tommorow's mufty day. Own clothes//



Just because well, do i need a reason?

Black top, white paint. Bought the top for £2 just then, an its pretty good quality lol

now to work !

Post pics of finished when done.

Quik
16
Years of Service
User Offline
Joined: 3rd Jul 2008
Location: Equestria!
Posted: 17th Dec 2009 18:06
awesome lazerus! I WANT ONE TOO


[Q]uik, Quiker than most
lazerus
17
Years of Service
User Offline
Joined: 30th Apr 2008
Location:
Posted: 17th Dec 2009 19:32
well the back is drying now.



MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 17th Dec 2009 20:18
that looks pretty good, wouldn't mind one myself

Everyone Be Cool, You, Be Cool.
Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 17th Dec 2009 23:06 Edited at: 17th Dec 2009 23:08
One more awesome smiley, just for luck.




EDIT: Lazerus - You missed the tongue.

Jeku always gets drunk and tries to Moderate the ocean. Tirelessly slapping the waves as they roll in.
lazerus
17
Years of Service
User Offline
Joined: 30th Apr 2008
Location:
Posted: 17th Dec 2009 23:23
i didnt like it in the design lol

do yhou rekon itll look any better,

Ohh and yes i am lurking every 30 min while the next episode of samurai 7 streams up a little. / fanboyism / The stylisation is what i like and this gives the best references. The evangelion suits actually look alot like the scultures i produced about 4 weeks ago, the skinny waist and larger upper body and exagerated arms. I dunno it just seems like thiers nothing on tele anymore aswell and streaming is more convientent. -__-"

Ehh, im undecided about the tounge now, what do you guys rekon>?

thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 17th Dec 2009 23:33 Edited at: 17th Dec 2009 23:33
siggy test.

lil marioman
17
Years of Service
User Offline
Joined: 21st Apr 2008
Location: Canada
Posted: 17th Dec 2009 23:34
I think the tongue is fine. I mean, I think the awesome smiley is all about the tongue



thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 17th Dec 2009 23:41 Edited at: 17th Dec 2009 23:42
I believe that the best part of that smiley might be the color-shading contrast between positive and negative space in the mouth and outside, if not the 4x antialiasing. in addition, the simplistic and smooth style transfers the interest in the piece from the line graphic to the shading.

in lawman's terms, I like the color.

actually, I think the best smily is right here ->
lol.
is my snow falling backwards?
[edit] not anymore!

lil marioman
17
Years of Service
User Offline
Joined: 21st Apr 2008
Location: Canada
Posted: 17th Dec 2009 23:42
Quote: "might be the color-shading contrast between positive and negative space in the mouth and outside, if not the 4x antialiasing"


-facepalm-



thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 17th Dec 2009 23:43
hey, you have to let the geekiness out sometime...


Omega gamer 89
17
Years of Service
User Offline
Joined: 10th Sep 2007
Location: Pittsburgh, PA
Posted: 17th Dec 2009 23:56
Quote: "I am the great pet walrus!"

Anyone know what movie that's from?

So what if I talk to myself? Its the only way i can have an intelligent conversation around here.
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 17th Dec 2009 23:58 Edited at: 18th Dec 2009 00:00
Quote: "in lawman's terms, I like the color"

Haha... as a sheriff would say...

EDIT: Omega - no idea. Something Beatles related, given it's similarity to the song I Am The Walrus?

EDIT 2 just for this link - tried to search for the quote.

Omega gamer 89
17
Years of Service
User Offline
Joined: 10th Sep 2007
Location: Pittsburgh, PA
Posted: 18th Dec 2009 00:05 Edited at: 18th Dec 2009 00:06
@Demons breath: I'm honestly not sure which of your guesses is farther off. Suffice it to say, they are both not even in the ballpark.

So what if I talk to myself? Its the only way i can have an intelligent conversation around here.
lazerus
17
Years of Service
User Offline
Joined: 30th Apr 2008
Location:
Posted: 18th Dec 2009 00:08
I was thinking it was the contrst that made it so workable, but i cant do that in black and white so im stuck lol.

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 18th Dec 2009 00:31
Quote: "I'm honestly not sure which of your guesses is farther off. Suffice it to say, they are both not even in the ballpark."

I only had one

Also points for next poster. Odds on Andrew T's been lurking around waiting to swoop in again?

Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 18th Dec 2009 00:34
I'd say 1.

I will live forever or die trying.
My game blog

Login to post a reply

Server time is: 2025-06-22 10:07:04
Your offset time is: 2025-06-22 10:07:04