Search found 3591 matches

by Jasoco
Sun Jun 28, 2009 8:13 pm
Forum: Support and Development
Topic: Graphic layers?
Replies: 36
Views: 22575

Re: Graphic layers?

Haha, I already programmed it to not draw a tile if its X and Y coordinates aren't within the boundaries. But I'll use setScissor too for extra good measure. I got myself a really nice smooth scrolling map now. It loads the map file, and determines the maps height from the number of lines and its wi...
by Jasoco
Sat Jun 27, 2009 7:32 pm
Forum: Support and Development
Topic: Graphic layers?
Replies: 36
Views: 22575

Re: Graphic layers?

That's the thing that amazes me though. That LÖVE is fast enough to draw hundreds of things at once every single frame. Without cheating and making objects that are moved around, or storing stuff in buffers to call all at once. I suppose if I do a tiny bit of work, I'll even be able to make a scroll...
by Jasoco
Sat Jun 27, 2009 7:13 pm
Forum: Support and Development
Topic: Graphic layers?
Replies: 36
Views: 22575

Re: Graphic layers?

Do you store the map in memory, or the contents of the file, or do you start reading the file over and over again? Me? The .map file is loaded once per screen. When you first enter it. All the variables are loaded into multidimensional arrays: mapTiles[x][y] mapDeco1[x][y] mapHit[x][y] etc... And t...
by Jasoco
Fri Jun 26, 2009 10:41 pm
Forum: Support and Development
Topic: Graphic layers?
Replies: 36
Views: 22575

Re: Graphic layers?

The way I have always made map files in all the iterations of the same engine I have rewritten twice so far uses simple ASCII text, uncompressed (So I can edit it by hand) with numbers or letters representing what should go where when the map is loaded. In my original QuickBASIC engine, a sample map...
by Jasoco
Fri Jun 26, 2009 7:05 am
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 278
Views: 983936

Re: Distributing your games (making a .love file)

I'd say for finalizing, do the zipping. But I'll use packages for the development phase. :ultrahappy:
by Jasoco
Fri Jun 26, 2009 6:58 am
Forum: General
Topic: love.map?
Replies: 9
Views: 6214

Re: love.map?

I'll just stick to my current method of numbers representing the x and y coordinates of a tile in a PNG and an "x" if the tile is passable or not. I played with Tiled and couldn't get it to do collision maps. And it exported to formats I wouldn't know what to do with. Even the LUA one. I'd...
by Jasoco
Fri Jun 26, 2009 6:38 am
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 278
Views: 983936

Re: Distributing your games (making a .love file)

I just tried that trick of simply adding .love to the end of a folders name and it worked perfectly when I double-clicked it on my Mac. thanks a lot! thats genius! its faster then always select all files, zip it, rename it... :D Remember that the trick only works on OS X. If you send it to a Window...
by Jasoco
Thu Jun 25, 2009 3:45 am
Forum: Support and Development
Topic: Graphic layers?
Replies: 36
Views: 22575

Re: Graphic layers?

I don't know all the math and sines and cosines and stuff to even begin to pull that off. I couldn't even create a Wolfenstein style game, and that's the simplest "3D" you can have! ;) If there was like a built-in way to define a "world3d" with a certain size length, width and he...
by Jasoco
Wed Jun 24, 2009 11:18 pm
Forum: General
Topic: Hate: In love with C
Replies: 55
Views: 24945

Re: Hate: In love with C

I like the idea of hybrid Lua and C in LÖVE, but I don't know any C. I do know JavaScript though. I'd löve to be able to include JavaScript in my coding as well. Maybe also implement WebKit in there somehow so we can program using the best of Lua, CSS, JavaScript, C and HTML5. As long as you can kee...
by Jasoco
Wed Jun 24, 2009 10:52 pm
Forum: General
Topic: Unnecessary use of the umlaut
Replies: 27
Views: 18678

Re: Unnecessary use of the umlaut

Who are Röyksopp?. Two guys from northern Norway (Tromsø), I used to think they were from Bergen, but that's just where they formed the band. And yes, they spell it ö, in Norwegian you can use either ø or ö for the same sound, but the phonetic alphabet uses ø. Ö is more common in handwriting, since...