Search found 137 matches

by norubal
Fri Jul 14, 2023 1:23 am
Forum: General
Topic: Favourite inspiring/unique games
Replies: 60
Views: 110781

Re: Favourite inspiring/unique games

Dungeon crawl: stone soup was my favorite game before devs removing interesting interactions and easy ways to beat a game.
by norubal
Fri Jul 14, 2023 1:04 am
Forum: Support and Development
Topic: [SOLVED]How can I check if remote socket is terminated?
Replies: 4
Views: 2133

Re: How can I check if remote socket is terminated?

Solved by adding small amount of code below to client side. Thank you for everyone who checked and tried to help. local result = client:send("Hi!\n") if result ~= nil then print("Send data to server: Hi! ") else print("Oops. Something happened: Can't send data to server.&quo...
by norubal
Thu Jul 13, 2023 2:40 pm
Forum: Support and Development
Topic: [SOLVED]How can I check if remote socket is terminated?
Replies: 4
Views: 2133

[SOLVED]How can I check if remote socket is terminated?

I'm trying to implement simple server-client application. Server(It's a lua script but it won't work on love itself): socket = require("socket") function newset() local reverse = {} local set = {} return setmetatable(set, {__index = { insert = function(set, value) if not reverse[value] the...
by norubal
Sun Jul 09, 2023 2:36 pm
Forum: Support and Development
Topic: Require is not working properly
Replies: 3
Views: 2122

Re: Require is not working properly

I am not sure, but it looks like that you need to have file const.lua in the root of your project and define here the path to your slab lib: -- lib/slab/init.lua: local Const = require("const") local Slab = require(Const.SLAB_PATH .. ".API") return Slab The file const.lua: -- co...
by norubal
Sun Jul 09, 2023 10:50 am
Forum: Support and Development
Topic: Require is not working properly
Replies: 3
Views: 2122

Require is not working properly

I'm trying to use library called ' Slab ', and I have a directory structure like this: myproject/ |- main.lua |- conf.lua |- ... └lib/ └slab/ ├const.lua ├API.lua ├Slab.lua ├... └init.lua And this is my main.lua: local Slab = require 'lib/slab' function love.load(args) Slab.DisableDocks({'Left', 'Rig...
by norubal
Sun Feb 21, 2021 5:17 am
Forum: Games and Creations
Topic: Tower of the Silent God - Hack and Slash Roguelite
Replies: 2
Views: 4495

Re: Tower of the Silent God - Hack and Slash Roguelite

Xii wrote: Fri Feb 19, 2021 9:19 pm How about a screenshot?
I updated screenshots with brief overview.
by norubal
Fri Feb 19, 2021 5:01 pm
Forum: Games and Creations
Topic: Tower of the Silent God - Hack and Slash Roguelite
Replies: 2
Views: 4495

Tower of the Silent God - Hack and Slash Roguelite

1.png en_1.png Downloads: Android https://play.google.com/store/apps/details?id=com.hondoom.tosg PC https://www.dropbox.com/s/as4yszi684h0y2w/tosg_pc.zip?dl=0 Overview: Tower of the Silent God is turn-based hack and slash roguelite game. Kill everything you see and proceed to next floor. Good luck!
by norubal
Wed Nov 18, 2020 1:25 pm
Forum: Support and Development
Topic: love.graphics.print troubles
Replies: 4
Views: 4892

Re: love.graphics.print troubles

Try this

Code: Select all

resolutionw = love.graphics.getWidth()
resolutionh = love.graphics.getHeight()
Instead of this.

Code: Select all

local resolutionw = love.graphics.getWidth()
local resolutionh = love.graphics.getHeight()
http://lua-users.org/wiki/ScopeTutorial
by norubal
Tue Nov 17, 2020 2:26 pm
Forum: Support and Development
Topic: Implementing turn-based time system
Replies: 3
Views: 4282

Re: Implementing turn-based time system

Thanks pgimeno , I checked https://ironypolicy.wordpress.com/2014/02/05/possession-2-speed-systems-in-roguelikes/ and solved it: First, I added "energy" and "energygen" field for each entities, and changed "movedelay" to "movecost". "energy" represen...
by norubal
Tue Nov 17, 2020 9:09 am
Forum: Support and Development
Topic: Implementing turn-based time system
Replies: 3
Views: 4282

Implementing turn-based time system

First, I apologize for another "I can't make this" question. Currently I'm trying to implementing turn-based time system. .love file is what I made - you can move player and enemies will move towards player using Jumper library. turnsystem.png turnsystem.love But this is my problem: I want...