Search found 15 matches

by carbajosa
Sun Feb 02, 2014 1:27 am
Forum: Support and Development
Topic: Tips and solutions for creating stages
Replies: 4
Views: 2738

Re: Tips and solutions for creating stages

kikito wrote:I wrote a tutorial exactly about this very topic:

https://github.com/kikito/love-tile-tutorial

Just replace "drawq" with "draw".
Ahh, thank you very much! That would be really helpful.
Well I'm now considering using tiles... hmm
by carbajosa
Sat Feb 01, 2014 11:46 am
Forum: Support and Development
Topic: Tips and solutions for creating stages
Replies: 4
Views: 2738

Re: Tips and solutions for creating stages

You can directly load lua files and use those as data storage. main.lua local level1 = love.filesystem.load("level1.lua")() print(level1[2][1]) --prints 2 level1.lua: local leveldata = { {1,1,1,1}, {2,0,0,1}, {1,1,1,1}, } return leveldata Amazing! I didn't know that can be done. Thank you...
by carbajosa
Sat Feb 01, 2014 10:14 am
Forum: Support and Development
Topic: Tips and solutions for creating stages
Replies: 4
Views: 2738

Tips and solutions for creating stages

Hello, love community! I just wanted to ask if there is a certain way to create stages / rooms properly. What I'm currently have in mind is to create a table of invisible bounding boxes like this: {1, 1, 1}, {1, 0, 1}, where 1 = Solid, 0 = Free Space {1, 1, 1} Then loading a graphics on top of that ...
by carbajosa
Thu Jan 23, 2014 10:00 am
Forum: Support and Development
Topic: I can't build with sublime text anymore
Replies: 1
Views: 1493

I can't build with sublime text anymore

Hello, I was a former love2d user but that was 0.8.0 but then after updating to 0.9.0, I cant build my projects anymore in sublime text. it will say: "building" but after that, nothing happens. No error etc. just a blank console. heres my build system: { "selector": "source....
by carbajosa
Thu Jul 18, 2013 12:38 pm
Forum: Support and Development
Topic: Create a message box without using libraries by others
Replies: 6
Views: 4108

Re: Create a message box without using libraries by others

Hi everyone! Thank you for the help, I finally got it! Here's a demo if you want to see it in my game game.love Instruction: Step on the event blocks and press " z ". It will run the event if you are facing the right direction. It's a bit fugly and buggy at the moment but I got the idea so...
by carbajosa
Thu Jul 18, 2013 3:00 am
Forum: Support and Development
Topic: Create a message box without using libraries by others
Replies: 6
Views: 4108

Re: Create a message box without using libraries by others

But how about clearing the rectangle that I used? (love.graphics.rectangle)
I can't seem to clear it out after showing the message lol
by carbajosa
Wed Jul 17, 2013 10:55 am
Forum: Support and Development
Topic: Create a message box without using libraries by others
Replies: 6
Views: 4108

Create a message box without using libraries by others

Hello everyone! I wanted to ask if it is possible to create a very simple message boxes? I am creating an event handler for my game and well, I wanted to implement a message handler. Like for example, a player has stepped on an event block and pressed Z, a message box will appear. I have also create...
by carbajosa
Tue Jul 16, 2013 1:35 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1500026

Re: What's everyone working on? (tigsource inspired)

Hello everyone! I am a new LUA and LOVE2d programmer and I wanted to show the idea of my game here. http://i190.photobucket.com/albums/z170/natsume004/Cloud-Gtitle.png It's called G-Cloud or Guardian Cloud. The story is yet to come but it's already written on my paper. It's not final though... Okay ...
by carbajosa
Sat Jul 13, 2013 7:30 am
Forum: Support and Development
Topic: Collision between a player and a wall
Replies: 9
Views: 7331

Re: Collision between a player and a wall

So I've been reviewing the logic for quite some time now and rewritten the collision part then wrapped it as a function so that the player could slide when hugging the wall pressing diagonal keys. I couldn't think of a better way to do this lol.
Collision test with diagonal.love
Mission Complete!
(1.91 KiB) Downloaded 428 times
by carbajosa
Sat Jul 13, 2013 2:32 am
Forum: Support and Development
Topic: Collision between a player and a wall
Replies: 9
Views: 7331

Re: Collision between a player and a wall

Yup! I tried doing it on a paper first then made gridlines and some paper cut-outs for a 2x2 tile and a 1x1 player. I solved the the logic about collisions and it's correct in the paper. but when it comes to actually coding it, I failed. :awesome: Doesn't work correctly like it was written on my pap...