Search found 636 matches
- Tue Jan 13, 2015 7:28 pm
- Forum: Projektit
- Topic: PIXELIMÖSSÖ
- Replies: 8
- Views: 16917
Re: PIXELIMÖSSÖ
Jännitys tiivistyy!!!
- Sun Oct 05, 2014 10:10 pm
- Forum: Ongelmat
- Topic: [ratkaistu] pikselille lukuarvo
- Replies: 11
- Views: 28291
Re: pikselille lukuarvo (wavefront algorytmiä varten)
Tarvitset flood fill algoritmin . Kätevin tapa toteuttaa tämä on äskeisellä Wikipedian sivullakin esitelty neljään suuntaan etenevä rekursiivinen täyttö. Ideana on siis tehdä funktio joka täyttää yhden solun (koordinaatit annettu kutsun yhteydessä parametreinä) ja sen jälkeen kutsuu samaa funktiota ...
- Sat Oct 04, 2014 4:43 am
- Forum: Ongelmat
- Topic: [ratkaistu] pikselille lukuarvo
- Replies: 11
- Views: 28291
Re: pikselille lukuarvo (wavefront algorytmiä varten)
Voit luoda kaksiulotteisen taulukon, tai sitten lukea kuvan pikseleitä suoraan. CoolBasicin näyttöpuskurin pikseliformaatti on perus kahdeksanbittinen ARGB, joka tarkoittaa että jokaista pikseliä kohden on varattu neljä tavua muistia. Näistä A on alpha-kanava joka on tässä tapauksessa aina arvoltaan...
- Sat Sep 13, 2014 6:05 pm
- Forum: Problems
- Topic: hello everybody,i got trouble again
- Replies: 6
- Views: 19539
Re: hello everybody,i got trouble again
The CoolBasic DLL support is really limited and you cannot call WinAPI DLLs as is. There is a wrapper library called cbFUN that has some this functionality. To use it you need to download the SDK and then extract the files to the CoolBasic directory. List of supported functions: ShowWindow() FlashWi...
- Wed Aug 06, 2014 10:09 pm
- Forum: Yleinen
- Topic: Blitz3D:n lähdekoodit julkaistu
- Replies: 2
- Views: 7191
Blitz3D:n lähdekoodit julkaistu
Kaksi päivää sitten koko Blitz3D:n lähdekoodit julkaistiin. MSVC 6.0 projektin lähdekoodit on sijoitettu GitHubiin kaikkien ihailtaviksi. Projekti on lisensoitu varsin vapaan zlib/libpng-lisenssin alaisuuteen. Tämä julkaisu on siinä mielessä merkittävä, että Blitz3D toimi CoolBasic-kielen esikuvana,...
- Wed Aug 06, 2014 7:34 pm
- Forum: Examples and tutorials
- Topic: Mirage
- Replies: 1
- Views: 13607
Re: Mirage
Hi,
this is a legit sine wobbly sprite! You could try to make it faster with CopyBox or DrawImageBox that allow you to draw slices of images much faster.
The syntax of DrawImageBox is
Keep up the good work
this is a legit sine wobbly sprite! You could try to make it faster with CopyBox or DrawImageBox that allow you to draw slices of images much faster.
The syntax of DrawImageBox is
Code: Select all
DRAWIMAGEBOX image, x, y, startX, startY, width, height, [frame], [transparent]
- Wed Aug 06, 2014 7:30 pm
- Forum: Examples and tutorials
- Topic: Round About
- Replies: 1
- Views: 7606
Re: Round About
A funny worm It's similiar to one effect I made in my oldcool 2010 intro.
- Wed Aug 06, 2014 7:28 pm
- Forum: Examples and tutorials
- Topic: Cool Fern
- Replies: 1
- Views: 7251
Re: Cool Fern
Wow that's a great L-system you've got there! If it was realtime you could make some pretty nifty animations with it.
- Wed Aug 06, 2014 7:26 pm
- Forum: Examples and tutorials
- Topic: Copper Star
- Replies: 1
- Views: 7577
Re: Copper Star
Hello, that's a pretty cool retro effect. It's possible to make it faster by using locked framebuffer operations instead of simple Dot. I replaced the Dot command with a PutPixel2 and it's already much faster. Please see the source code below. SCREEN 640,480 d=40 c=10000 ys#=0.15 a#=0.0 While KeyDow...
- Wed Aug 06, 2014 7:22 pm
- Forum: Examples and tutorials
- Topic: Particles
- Replies: 2
- Views: 7978
Re: Particles
Good job You don't need to write Wait manually in the main loop though, since you can specify the target framerate with the Framelimit command.
- Wed Aug 06, 2014 7:21 pm
- Forum: Examples and tutorials
- Topic: Copper Bars
- Replies: 1
- Views: 23594
Re: Copper Bars
It isn't too slow here. In any case, you could make it faster by precalculating the bars as images and then just blitting them in correct places.
- Sun Aug 03, 2014 3:25 pm
- Forum: Yleinen
- Topic: Offtopic (I/2012)
- Replies: 1181
- Views: 1236642
Re: Offtopic (I/2012)
Hyvää sunnuntai-iltapäivää.
- Tue Jul 29, 2014 8:20 pm
- Forum: Examples and tutorials
- Topic: Mandelbrot
- Replies: 2
- Views: 8419
Re: Mandelbrot
This is pretty damn ace! Please make more
Edit: By they way, since you seem to be interested in graphics programming, you should check out our CoolBasic demo Linear Minds. Also includes source code!
Edit: By they way, since you seem to be interested in graphics programming, you should check out our CoolBasic demo Linear Minds. Also includes source code!
- Sun Jun 22, 2014 10:49 pm
- Forum: CoolBasic
- Topic: CoolBasic Classic: Kehitysuutisten kommentit
- Replies: 297
- Views: 347270
Re: CoolBasic Classic: Kehitysuutisten kommentit
Onko kenelläkään tietoa siitä, että tuleeko mikään uusi versio coolbasicista koskaan valmistumaan? Asiasta sen enempää tietämättä täytyy myöntää että aika heikoltahan tämä näyttää. Tässä muutamia vaihtoehtoja CoolBasicille: LÖVE : Lua-skriptattava 2D-pelimoottori. Cross-platform ja yhteisö vaikutta...
Re: Routis (Beta/Demo)
Todella hyvä! Vau! Pelasin kaksi kenttää ja bossin, pitikö kenttiä olla enemmän? On selvää että sinulta löytyy pelintekoon tarvittavaa näkemystä, jatka samaan malliin! Pari huomiota: Oli mukava yllätys että hyppykorkeutta pystyi säätelemään pitämällä nappia kauemmin pohjassa Gravitaatio oli kuitenki...
Re: Jamal
Et linkannut kuvaa, vaan kuvasivun. Tässä varsinainen screenshotti: http://s1.bild.me/bilder/260513/8363393jamals.png Tämä on paras CoolBasic-peli mitä olen pelannut. Pelissä on asennetta ja grafiikkaa ja kaikkea. Älä vaan lopeta pelien tekemistä! Toisen pelaajan näppäinkontrollit olivat hyvin ikävä...
- Fri Jun 07, 2013 1:30 am
- Forum: Projektit
- Topic: cbpp - CoolBasic esikääntäjä
- Replies: 0
- Views: 34567
cbpp - CoolBasic esikääntäjä
cbpp on demoamme varten kehitetty C-tyylinen esikääntäjä CoolBasicille. https://dl.dropboxusercontent.com/u/5753422/gif/cbpp2.gif https://github.com/seece/cbpp Ominaisuudet: C-tyyliset makroliput ja ehdollinen kääntäminen makrofunktiot jotka puretaan koodiksi ennen varsinaista kääntämistä monirivis...
- Mon Jun 03, 2013 11:10 pm
- Forum: Yleinen
- Topic: Offtopic (I/2012)
- Replies: 1181
- Views: 1236642
Re: Offtopic (I/2012)
Minulla oli japanista nelonen.
- Fri Apr 12, 2013 11:13 pm
- Forum: Esimerkit ja tutoriaalit
- Topic: Efektit
- Replies: 678
- Views: 588952
Re: Efektit
Kas tässäpä pätkä joka analysoi kuvan värit ja piirtää ne kolmiulotteiseen avaruuskuutioon. SCREEN 800, 480 clsColor 32,32,32 clearArray OFF imagepath$ = "media/guy.bmp" img = loadImage(imagepath) colorblock = find_unique_colors(img) setWindow "done " unique_colors = peekInt(colo...
- Thu Mar 21, 2013 11:01 pm
- Forum: Yleinen
- Topic: Offtopic (I/2012)
- Replies: 1181
- Views: 1236642
Re: Offtopic (I/2012)
Oikeassa olet, itse tein taannoin tällaisen raymarching-testin.MaGetzUb wrote:Heh, GLSL Sandbox on mukava paikka koodailla efektejä. Tämmöisen metapallo härpäkkeen tein.