Another Newbie Once Again

General discussion about LÖVE, Lua, game development, puns, and unicorns.
mk352
Prole
Posts: 5
Joined: Mon Jul 16, 2012 2:49 am

Re: Another Newbie Once Again

Post by mk352 » Mon Jul 16, 2012 7:10 am

:shock: You sound very similar to me.
5 years ago I started making games with RPG Maker XP, quickly switched to RPG Maker VX, made 1 full game, made a bunch of crap afterwards :rofl: and learned how to program in RGSS2, I became quite the script kiddie, then eventually I jumped to Game Maker temporary (its a piece of crap :roll: ). Then on Minecraft I jumped to ComputerCraft, learned LUA almost completely in two weeks, spent about 2 months at it, found Love2D, made a Music Player :nyu: then I started making an actual game and I'm having a little bit of trouble coding every now and then, but overall this engine is EPIC and unique. :D Welcome to the community and I hope you make some friends here as well!

User avatar
Echo
Prole
Posts: 46
Joined: Fri Jul 13, 2012 4:50 pm
Location: Lucid Moon

Re: Another Newbie Once Again

Post by Echo » Mon Jul 16, 2012 9:32 am

@mk352:
RPG Maker is still so much fun, I still just mess around with it a bit but I never tried RGSS, I was learning ruby a bit but then thought it would be better to just branch off like yourself and learn to make games that are not restricted to rpg maker. Lua is very easy, I really enjoy coding with it, it reminds me of visual basic only even simpler ( for example variables can be used more loosely ).

@BlackBulletIV
what I meant with Paint.NET was to use the layers and a grid to work as a sort of graphical interface to aid level design, I had no idea that it was actually used as a level editor before.
I checked out tiled qt after reading your previous post actually, but I might make something more arcade first and just have it (tiledQT) on the side for future projects.

by procedurally generated games you mean games that have random maps each time you play right? like dig-dug :shock: ? any examples you know so I can see how they work :huh: ?

User avatar
Nixola
Inner party member
Posts: 1940
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Another Newbie Once Again

Post by Nixola » Tue Jul 17, 2012 1:34 am

Minecraft has a procedurally generated map
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics

User avatar
BlackBulletIV
Inner party member
Posts: 1260
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Another Newbie Once Again

Post by BlackBulletIV » Tue Jul 17, 2012 3:06 am

Echo wrote:what I meant with Paint.NET was to use the layers and a grid to work as a sort of graphical interface to aid level design, I had no idea that it was actually used as a level editor before.
Well, you could have each level as an image, with each tile being a pixel in the image. You could then read the image as an ImageData object and go through each pixel. Each pixel has four numbers from 0 to 255 associated with it: red, green, blue, and alpha. You could use those numbers to select which tile you want to display on screen, and other things too. For example, red could be the tile number (which allows for 255 tiles), and green could indicate the tile's type (example: 0 = display only, 1 = solid, 2 = danger, etc.).

Come to think of it, I should do a tutorial on this sometime.
Echo wrote:by procedurally generated games you mean games that have random maps each time you play right? like dig-dug :shock: ? any examples you know so I can see how they work :huh: ?
Yeah, kind of like that. It doesn't have to be as complicated as Minecraft or anything; procedural generation can be quite simple sometimes. I've created two things using procedural generation in LÖVE: my game, Facilitated Escape, and an old test to with procedural cave generation.

lay123
Prole
Posts: 1
Joined: Tue Jul 31, 2012 8:12 am

Re: Another Newbie Once Again

Post by lay123 » Tue Jul 31, 2012 8:22 am

i am also new here .....

nice to meet you
^=^

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Another Newbie Once Again

Post by T-Bone » Sun Aug 05, 2012 8:55 am

One of LÖVE's biggest advantages is the freedom it gives you. If you want a level editor, I recommend making one yourself. But I'd asay that it's probably better to start off with something simpler to learn the basic. Don't ask "how do maka level editor?", because there are thousands of ways it could be done, and it all depends on your needs as well as your own personal programming style, which is something you will find soon enough. Instead, ask yourself "What do I want my level editor to be like?" And then make it.

User avatar
Lafolie
Inner party member
Posts: 804
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Another Newbie Once Again

Post by Lafolie » Wed Aug 08, 2012 2:48 am

Making editors isn't so difficult. I'm going to assert that using Rm2k has influenced your idea of a 'level editor'. You should think of it more as a 'content creation' tool, in that you might want to create other content than just levels. Someone recently posted a particle editor on here. However, if you're wanting to make maps your editor doesn't have to be anywhere near the complexity of RPG Maker.

If you work on your game first your editor will mostly be pasted code from that. Your editor will render the maps just like in the game but instead of a guy walking around you use the mouse to change tiles. Add a little palette to select tiles and you're done. If you need to make something similar to events you can just reference an npc from your script, and you wouldn't need to make any sort of fancy gui since you just code the 'events' themselves in your scripts. Also, in your editor code you don't need to keep it super-optimised and bad code isn't so much of a problem. As long as it works for you it doesn't matter.

So, just don't worry about it. Start your project and build the gameplay up until it gets to a point where you can start to fill it out with levels and other content. Then just port the necessary parts over in order to display your levels in the editor and use love.mouse and love.filesystem, perhaps with some simple buttons (though hotkeys are quicker to use and implement) to switch between simple tools (draw a tile, erase tile e.t.c).
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.

Mypeter
Prole
Posts: 1
Joined: Mon Aug 13, 2012 2:13 pm

Re: Another Newbie Once Again

Post by Mypeter » Mon Aug 13, 2012 2:26 pm

I'm a newbie too..and was amazed how things are done here...can't wait to learn more about love!:)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 6 guests