Search found 152 matches

by CaptainMaelstrom
Sun Jul 22, 2018 2:49 pm
Forum: Support and Development
Topic: Looking for help on a lot of things, need some awesome people to assist.-The Dream Of Coding and Knowing Nothing.
Replies: 5
Views: 758

Re: Looking for help on a lot of things, need some awesome people to assist.-The Dream Of Coding and Knowing Nothing.

Just to add to the conversation -- it sounds like you're on the right track. There are a lot of resources available for lua and LOVE2D. Some are targeted towards beginners, others not. But the main thing is just to always keep learning. I've been programming for about 8 years and 6 or so of those ha...
by CaptainMaelstrom
Sun Jul 22, 2018 2:39 pm
Forum: Games and Creations
Topic: Phibonacci: a 2048-like game with the Fibonacci numbers
Replies: 2
Views: 1476

Re: Phibonacci: a 2048-like game with the Fibonacci numbers

Capture.PNG
Capture.PNG (45.87 KiB) Viewed 1043 times
That's my final score.
This is pretty neat. Thanks for sharing.
by CaptainMaelstrom
Mon May 07, 2018 7:28 pm
Forum: Support and Development
Topic: Can't detect home/end KeyConstants
Replies: 2
Views: 352

Can't detect home/end KeyConstants

My laptop doesn't have a discrete home or end key. Instead, I have to enable Num Lock and then press keypad 7 or keypad 1 respectively to send home/end keypresses to applicaitons. All the applications I use regularly seem to detect home/end just find when I have num lock enabled. However, I can't fi...
by CaptainMaelstrom
Mon Oct 09, 2017 1:37 am
Forum: Support and Development
Topic: GIMP style dynamic colorizing
Replies: 3
Views: 895

Re: GIMP style dynamic colorizing

zorg: That was what I thought at first too. But after trying that, my colorize function still doesn't behave like Gimp's. For instance, white pixels don't stay white. raidho36: Mind sharing the shader? Does it also colorize grayscale images? So far, my efforts have gotten me this far: https://imgur....
by CaptainMaelstrom
Thu Oct 05, 2017 7:05 pm
Forum: Support and Development
Topic: GIMP style dynamic colorizing
Replies: 3
Views: 895

GIMP style dynamic colorizing

Hello all, I'm trying to colorize images dynamically, during run-time. For example, I have some mostly gray images that I want to color blue (like what's shown inside the black rectangle). colorize_example.png I'd love to do this with setColor and setBlendMode or similar. But I think I may have to u...
by CaptainMaelstrom
Sat Sep 09, 2017 7:03 pm
Forum: Games and Creations
Topic: first LOVE2D games
Replies: 6
Views: 2551

Re: first LOVE2D games

Welcome to the forums!

Making little games like this is the best way to learn. I would guess that you made Snake before Shoot the Invaders. Whatever is the case, I'm glad you enjoyed the process -- that's what it's all about. Keep up the good work, I'm excited to see what you do next!
by CaptainMaelstrom
Mon Sep 04, 2017 3:55 pm
Forum: General
Topic: Try out my course: Lua Programming and Game Development with LÖVE
Replies: 4
Views: 2148

Re: Try out my course: Lua Programming and Game Development with LÖVE

I am missing State machines, Probability, AI, Unit design, Production & Tech tree construction, Game balance and Game design. Umm, what do you mean? It seems to be a beginner's course in game development. Not game design. Also, the topics you listed I would argue are not beginner topics, but interm...
by CaptainMaelstrom
Mon Sep 04, 2017 3:49 pm
Forum: Support and Development
Topic: How to work nicely with fonts
Replies: 5
Views: 1050

Re: How to work nicely with fonts

Additionally, you could create a Text object (http://www.love2d.org/wiki/Text) using the biggest size font, and then scale it at draw time.

Example

Code: Select all

love.graphics.draw(mytext, x, y, rotation, scale_x, scale_y)
Or, you could set font, print to a canvas, and draw the canvas to scale.
by CaptainMaelstrom
Fri Aug 25, 2017 12:34 am
Forum: Support and Development
Topic: Virtual buttons mobile
Replies: 1
Views: 589

Re: Virtual buttons mobile

You can just draw images of the buttons on the screen. Have one sprite/image showing what the button looks like when it's pressed and one normal. Somewhere in the touch callback function, set a value to tell your game to draw the pressed button as opposed to the normal looking one.
by CaptainMaelstrom
Sat Aug 12, 2017 3:50 pm
Forum: Support and Development
Topic: extern Image in Shader incorrect
Replies: 4
Views: 888

Re: extern Image in Shader incorrect

You mean posterity, not progeny. :3
Yes! :P