done by phunck
logo done by phunck :: pouët.net is hosted on the huge scene.org servers




Mousecursors in 4k Intros
category: code

  previous page
go to page of 5  
Quote:
And while we are at topic of sync, care to share ideas of what do you use to prevent this 3 frame bufering?

add dword [esp+1*4], 2048*4

:-/
added on the 2012-08-22 15:32:26 by Blueberry  
Blueberry
care to elaborate blueberry? perhaps in c?
added on the 2012-08-22 17:58:37 by xTr1m  
xTr1m
well, looks like a fixed sample/time delta to me :)
added on the 2012-08-22 20:53:43 by gopher  
gopher
in 4ks i dont care!
in 64k i would care!
but not in 4096 lousy bytes!
fuck the mousecursor (everyone is able to move it offscreen still!)
fuck timing-issues (just try avoiding them atleast! 4klang does that for you.)
even with crinkler removing most of the PE-Header and smallest setup, we still waste way too many bytes on setting up a stupid window to render on already, so i dont waste any additional byte on unneeded features! you always can have a final-version with Resolution-Dialogue etc, which also has those additional features! (as long as you have a working <4096b-version of the same intro next to it!)
added on the 2012-08-23 13:32:29 by hArDy.  
hArDy.
Well hardy - those things are "nice to have features" - and they are pretty low cost, sizewise. If I can have those - I would favor all those features over some lame default font crap rendering "TRSI" "hardy" etc..

Btw. I "measured" the "cost" it was around ~4 compressed bytes... And I might have found another thing that gave me 1-9 compressed bytes (depending on the context, we're still checking compatibility - but it seems to be nice.).

In case anyone is not able to hide the mouse cursor with the provided code in 4096 bytes and your intro is <= 4096 bytes without that one PeekMessageA call, I'll help you doing it (In case you trust me enough to give me the source/toolchain + the deadline is not in 60 minutes - having >=1 day is cool).
added on the 2012-08-23 16:16:41 by las  
las
In case of doubt I'd vote for the 4k that is able to hide the mouse cursor.
added on the 2012-08-23 19:38:30 by Parasight  
Parasight
Code:
we still waste way too many bytes on setting up a stupid window to render on already, so i dont waste any additional byte on unneeded features! you always can have a final-version with Resolution-Dialogue etc, which also has those additional features! (as long as you have a working <4096b-version of the same intro next to it!)


i strongly disagree. a 4k intro ahs to be a robust 4k intro, not a zip with crappy 4k coding exercise plus a 20 kilobyte demo. if yo cannot make 4k intros, then don't make them, just go for 64k. if you think you can do 4k intros, then make them proper, robust and good looking. in fact, i think hiding the mouse cursor should be mandatory, just like the ESC key ("hey dude, anybody can open the task manager and kill the intro anyway"), and and having a good timing is crucial. i don't see how sparing some extra 20 bytes is a problem. if you need those 20 bytes, well, optimize your code (or remove that last greet. done)
added on the 2012-08-23 20:39:39 by iq  
iq
Quote:
even with crinkler removing most of the PE-Header and smallest setup, we still waste way too many bytes on setting up a stupid window to render on already, so i dont waste any additional byte on unneeded features!

Yeah, we waste more than half a kilobyte on stupid Windows boilerplate, and we only get a lousy handful of graphics and sound APIs in return. It's not fair!
added on the 2012-08-24 10:27:42 by Blueberry  
Blueberry
1. Write a virus, with the typical 4k's boilerplate code as its payload. Throw-in a few things like ray-marching primitives and a synth
2. Infect 99.9% of the potential audience
3. Call the virus payload from your demo
4. TEH ULTIMATE 1337^2 4K
added on the 2012-08-24 10:53:09 by marmakoide  
marmakoide
5. never visit a demoparty again.
added on the 2012-08-24 13:55:18 by las  
las
:D
added on the 2012-08-25 09:53:44 by xTr1m  
xTr1m
;)
added on the 2012-08-26 03:04:25 by skarab  
skarab

  previous page
go to page of 5  

post a new reply
You need to be logged in to post a new reply :: register here





pouët.net 0.9-3d89cb1 © 2000-2013 mandarine - hosted on scene.org
send comments and bug reports to webmaster@pouet.net - contribute on GitHub
page created in 0.018974 seconds.