Search found 491 matches

by baconhawka7x
Mon Feb 26, 2024 9:59 am
Forum: Games and Creations
Topic: [LOVEJAM 2024] Fortunes Favor - A Roguelike Strategy Game
Replies: 0
Views: 910

[LOVEJAM 2024] Fortunes Favor - A Roguelike Strategy Game

Fortune's Favor Fortune's Favor is a medieval rogue-like strategy game. You must fight against an unrelenting, increasingly aggressive horde of enemies. Spend your gold to deploy your own soldiers and fight back - But choose when and how many to deploy carefully - You may wish you'd have saved that...
by baconhawka7x
Tue Jan 30, 2024 5:48 pm
Forum: General
Topic: Using love while learning c++
Replies: 6
Views: 1181

Re: Using love while learning c++

My advice is to pick a specific project that you would like to accomplish. It can be over-ambitious (game engine) or low-stakes (pong). It doesn't necessarily need to be achievable at first, it just needs to not be "learn c++". Your goal is "do <something> via c++". It's through...
by baconhawka7x
Tue Jan 30, 2024 5:38 pm
Forum: General
Topic: Using love while learning c++
Replies: 6
Views: 1181

Re: Using love while learning c++

Not saying that you shouldn't learn C++, only you can know what's important for you. But for you to consider learning C# instead. This would let you use Godot , Unity etc. And C# is much closer to C++ than Lua is, so you will be closing the distance in any case. For sure - My main goal is to learn ...
by baconhawka7x
Tue Jan 30, 2024 1:06 am
Forum: General
Topic: Using love while learning c++
Replies: 6
Views: 1181

Using love while learning c++

I want to start learning c++ after my current project. I've only ever used high-level dynamic programming languages - And am entirely self-taught (save for a lot of awesome people on this forum helping me!) so please excuse how stupid some of my post might sound :| I was wondering if it's possible/n...
by baconhawka7x
Wed Aug 16, 2023 12:52 am
Forum: Libraries and Tools
Topic: GOOP - OOP Library
Replies: 0
Views: 19133

GOOP - OOP Library

This is my first time ever sharing some source and making a library, so if anyone has any feedback it would be very appreciated. Just please be nice :') GOOP Gage's Object Oriented Programming An OOP library for lua that enables all of the oop features you'd want - Along with optional type checked a...
by baconhawka7x
Wed May 24, 2023 7:36 pm
Forum: Support and Development
Topic: Get the dimensions of the overlapping section of two rectangles
Replies: 2
Views: 742

Re: Get the dimensions of the overlapping section of two rectangles

If you are sure, the rectangles overlap, you can find it this way. Imagine some situation: +--------------+ | | | +--------+ | | | | | | | | | +--|--------|--+ | | +--------+ Now we can see, that if we want to get x of overlap, it is math.max(x1, x2) where x1 and x2 are x positions of two rectangle...
by baconhawka7x
Wed May 24, 2023 5:15 pm
Forum: Support and Development
Topic: Get the dimensions of the overlapping section of two rectangles
Replies: 2
Views: 742

Get the dimensions of the overlapping section of two rectangles

I'm trying to get the width and height of the overlapping section of two rectangles (assuming the rectangles can't rotate). For example, if there is a player and a platform, I can check if they are overlapping. if player.x + player.width > platform.x and player.x < platform.x + platform.width and pl...
by baconhawka7x
Tue Feb 13, 2018 6:33 pm
Forum: General
Topic: Löve Game Hosting Site
Replies: 3
Views: 4617

Re: Löve Game Hosting Site

Do it, would be awesome. Btw, I've done some stuff with nodejs at my work, nothing much, but if any help is needed, maybe I could help. Wish you luck! Awesome! I'm going to be making the repo tonight, if anyone wants to contribute please feel free! EDIT: Made the repo! https://github.com/quangogage...
by baconhawka7x
Mon Feb 12, 2018 11:53 pm
Forum: General
Topic: Löve Game Hosting Site
Replies: 3
Views: 4617

Löve Game Hosting Site

Hello again, lövely community! I started developing with love when I was 11 (I'm now 20) and learned the basics of programming with the help of the forums! (Even though I was probably the most annoying user in löve's history.) I remember there weren't any video tutorials at the time, so I made (I th...
by baconhawka7x
Mon Oct 30, 2017 10:52 am
Forum: Support and Development
Topic: Referencing "self" inside of class functions outside of class creation
Replies: 3
Views: 4074

Re: Referencing "self" inside of class functions outside of class creation

Oh perfect! Thank you for the quick answer! This works well, I'm now defining those 3 functions inside of the CreateClass function with that shorthand. function CreatePlayer() local newPlayer={} setmetatable({},newPlayer) newPlayer.__index=newPlayer function newPlayer:load() end function newPlayer:u...