Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Ideas for CS2D - READ THE FIRST POST (OP)!

3,231 replies
Page
To the start Previous 1 249 50 51161 162 Next To the start

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Starkkz
Moderator Off Offline

Quote
I suggest this to be added:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
?Win32
Function lua_osname(L:Byte Ptr)
	lua_pushstring(L, "windows")
	Return 1
EndFunction
?Linux
Function lua_osname(L:Byte Ptr)
	lua_pushstring(L, "linux")
	Return 1
EndFunction
?MacOS
Function lua_osname(L:Byte Ptr)
	lua_pushstring(L, "macos")
	Return 1
EndFunction
?

lua_getglobal(L, "os")
lua_pushcfunction(L, lua_osname)
lua_setfield(L, -2, "name")

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

iLoveUS
User Off Offline

Quote
I dunno if this has been suggested and has been rejected but I searched in the custom google search bar.

How about speedrot <id> <speed>

and it may affect the cursors because it's related to the rotation of the player.

The lower the <rot> the slower the mouse cursor moves.
I dunno if you understand this but I hope you do.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

DC
Admin Off Offline

Quote
@user iLoveUS: It has been suggested already and also rejected because the cursor would have to be moved. I don't want the server to be able to control the client cursor position. This could be abused and get really annoying.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

D-D3ADxPro
User Off Offline

Quote
We should be able to move a sprite in the sprite entity and to place its direction to go anywhere. Leave it blank and it wont move. You can also use Rot. Speed and direction speed to also make a sprite move up while spinning.

Example:
IMG:https://oi62.tinypic.com/2hceuf4.jpg


Another thing that I would like is if we can make sprites kill you when you automatically touch them.

Example 2:
IMG:https://oi62.tinypic.com/2cniht.jpg

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Random guy
User Off Offline

Quote
@user D-D3ADxPro The first one isn't that important, but the second idea would be pretty useful if DC implements it.
But if he won't, we can still do it using lua like @user Alistaire said.

EDIT: How about a search bar or something in Editor while selecting an image or sound. It's hard to spot your folder if you have a lot.
Or when you type your folder name in square brackets (for ex: [foldername]) then it jumps into that folder.
edited 1×, last 19.05.14 03:17:25 pm

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

WinterPwnd
User Off Offline

Quote
I will say it again since I think my comment got deleted, the ability in the editor to move segments from the map, you select the part and just move it if it's even possible to do (something simillar to moving the map but just segments)>

old Character

SWAGSTEP
User Off Offline

Quote
I want to add CS2D More Character

╔═════════════════════════════════════╗
IMG:https://imageshack.com/a/img842/627/18c7.png

╚═════════════════════════════════════╝




us Dr_Who

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Starkkz
Moderator Off Offline

Quote
There's a thread about it but still I'd like to suggest it once again, CS2D needs LuaJIT to run faster. As it might break some Lua scripts, it should be added and turned off by default.

http://luajit.org/ext_jit.html
The module would allow us to process stuff faster without the FPS being dropping to death when running heavy scripts.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Alpha Beta
User Off Offline

Quote
@user Starkkz: Sounds promising. I'd like to see that too.

Other than that:
- (Not really a feature request): The lua table map() and the function map() in wrapper.lua collide, so you should better rename it to something like getmap().
- When you edit the servertransfer file, you can only uncomment single lines with //, why not multiple lines with /* */? Tibia users will love it.
- *This*
- *That*
- *That one* (I told you in IRC)
- *Last one*
edited 1×, last 05.06.14 10:15:40 pm

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Starkkz
Moderator Off Offline

Quote
@user Alpha Beta: LuaJIT is awesome. If I remember correctly, it boosts Lua's speed a hundred times, and then there's the FFI library which allows you to access C functions and data types (basically you don't need to make an external library on every operating system to get it working for Lua because LuaJIT works on all the operating systems).

The benefits are very simple:
1.- It makes Lua execute faster
2.- You don't need to load external libraries anymore (dll, so, etc).
To the start Previous 1 249 50 51161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview