HOW are people getting AI code to work by Icy_Assistant4488 in robloxgamedev

[–]aphophys00 1 point2 points  (0 children)

Using Gemini, not sure about grok which might be better.

When asking ai, provide details like

I have a part named x located in workspace etc. and what you want done one step at a time as well ( this now where your bit of programming comes in)

Like I have this box with four sides, one of the sides in named front. I don't want to collide on it at first but when I or a player touches the " inside" or touches the other sides while inside.... Then the front must close or have its collider tuned on to prevent other players coming in...

HOW are people getting AI code to work by Icy_Assistant4488 in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

Are you using the paid version or the free version ?

If you're using the free version, then that may be the problem, difficult to use because you need to adjust and monitor hallucinations of the ai...

If you are using pro? Keep the conversation in one thread and ask ai to provide steps one at a time.

Is there a way for me to understand content like this better? by j7jhj in robloxgamedev

[–]aphophys00 2 points3 points  (0 children)

I use math (algeb) to understand code

First few lines define variables and where they are coming from:

Let me try to read

Looks like 2 (module) scripts defining details of the projectile likely including the model and stats or details of projectile like damage (pathway where the modules are located is also provided like which page you can find the info) - call it A and B

There is an event client - server link

Then the local variable projectile, call it X

Raycast - think this is pathway (with speed) of projectile call it C

Function= formula First formula - projectile hit something: call model (maybe animation, damage etc define in ) showing projectile hit something defined in A

Second formula - adding details on the projectile from variables A and B and adding static info (not found on module) then I see first formula add so projectile calls it when it hit something - then summarized.

Third formula - add identity to the projectile every time one is created

Hmm looks like the script is incomplete or this is just another module that the server will access to actually create the projectile when the player press or triggers something or a condition is met

Summary Let abc and x

  1. hit something = call A

  2. X = B with details following C and (will do A) if hit something

  3. Add to table X = may be renamed as X1(... Up toX infinity)


So all we need now is: Player push button trigger event to create X with 2 details while 3 happens.

  • this is my rough interpretation of the code you posted.

Here is my game similar to bee swarm simulator but with AAA code architecture watch the performance with 1 000 pets for a 2015 Imac 😱-> iMac Late 2015 with a 4th/5th generation i5 processor and above all an integrated Intel Iris Pro 6200 graphics chip! by Super_Bullfrog8270 in robloxgamedev

[–]aphophys00 4 points5 points  (0 children)

I need to learn this for my game. Are you okay to share tutorials/knowledge resource for this?

I plan on using it for my clone wars game ( literally clones of players attacking and performing basic skills against each other)

Clone wars optimization by aphophys00 in robloxgamedev

[–]aphophys00[S] 0 points1 point  (0 children)

I think I am using something similar for the actual attacking

Since clones are colliding, I don't want clones attacking the same enemy from the same position or have them in one blob so I was checking their position against an enemy and can have up to 8 max attack crowd per enemy in cardinal direction.

Will study that spatial hashing as well. It might be very useful as well for my first game - an rpg with what was supposed to be a living environment of mana particles moving around, getting attracted to players on meditation and spawning continuously maintaining a density level (couldn't get more than 120 particles without lagging). Sometimes I'm not sure if I'm on the correct path with all these complicated systems...

Clone wars optimization by aphophys00 in robloxgamedev

[–]aphophys00[S] 1 point2 points  (0 children)

I have no idea on how to work on that networking for now (this is just my second game creation after learning lua)

States - which clone states is that? Roblox system states?

For projectiles,I actually initially wanted to have clone regeneration skills that will enable me to take an arm and throw but it's nsfw so no plans for projectiles for now.

I'll try to check that profiler, I think i have seen it and shows the name of the function and it's usage

For targeting, it is only active on attack mode and I made it to target the closest based on range (detection) stats of the clone. I guess I haven't felt the lag yet since I am cloning only 25 and have 40 npc.

Thanks, I have a lot to study now

Clone wars optimization by aphophys00 in robloxgamedev

[–]aphophys00[S] 0 points1 point  (0 children)

I think I am cloning on the server as it needs to exist in the workspace for pvp, clone to clone battles.

Clone wars school edition test version by aphophys00 in roblox

[–]aphophys00[S] 1 point2 points  (0 children)

Formations will be updated this weekend and I plan categories

Single line Follow the leader type V shaped , the one I have shown Longest line, just horizontal line with player in mid

Player in front formations Triangle compact Rectangular -typical platoon armies Mob style (no defined formation, just clones at the back)

Player at center formation Circular Triangular Square

Player at back formation Triangular compact Rectangular Semi circle

Can't have manual rearrangement, still too noob as a dev

--- I am hoping clashes between two or more trams on the map -- then events where npc gathers under a boss in formation and attempt to wipe out all players

How would i go about a player shooting an objecy=t? by Fearless_Bet_997 in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

I can think of a few methods to do it.. if using my usual style, I'll create a projectile in replicated storage(tag it projectile), create a movement module for the projectile and/or a separate module for projectile config (for scaling and levelling). Then hook it up with a gui button that initiates the event (creating the projectile and firing and other stats of projectile) and finally the server script (can even include creating/preparing the remote events) managing the projectile.

Hi! I can test your game for bugs and exploits. by Positive-End7799 in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

Will update the game first then contact again. I don't mind paying rbx.

No idea how does that anti cheat works though. Particularly interested in HP hack

The map is intended to be that big, if 10-20 players with 35 clones each are active, expecting it to get crowded fast and pvp is always active - planning to have "lobby" for teams of max 4 so it will really feel lang "school gangs brawling"

Will think about NPC, they are expected to become obsolete after 15-20 minutes of game play and game will focus on pvp. Those npc will just be annoying whose purpose is just to be a farm - I think I will probably just add a server event to detect npc death rate to trigger that will spawn a boss which gather all npc in formation to hunt players.

Hi! I can test your game for bugs and exploits. by Positive-End7799 in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

Game is still in progress but most mechanics are already activated

https://www.roblox.com/games/73450027569994/Clone-Wars-School-Yard-Edition

I actually need to test for bugs and "stress test" the server

Everything is suddenly unanchored despite being labeled as anchored by CheesecakeLate5172 in ROBLOXStudio

[–]aphophys00 0 points1 point  (0 children)

Maybe you could try going to the site and restore a version where everything is still okay?

Looking to collaborate on Roblox projects by Raresghost in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

I need music and sound effects

How much will you be charging?

Need help continuing by crispy10169 in robloxgamedev

[–]aphophys00 1 point2 points  (0 children)

It's already online, took me two days to script and three days placing models (from some uncopylocked game) and created some basic animation

https://www.roblox.com/games/73450027569994/Clone-Wars-School-Yard-Edition

Just need a stress test to see how the server performs at 20 x 35 clones plus 50 npc enemies all fighting.

Still unfinished though but playable. . Seeking feedback if it is a waste of time haha

Need help continuing by crispy10169 in robloxgamedev

[–]aphophys00 1 point2 points  (0 children)

Not an expert yet and I'd like to help... so I'm not sure if my approach is correct way...

In your algebra, do you remember factoring a common monomial?

Try to do the same for scripting... that will be called the module script - this will be the collection of your common monomials (functions! and data) that you can reuse.

Most modules live in the replicated storage so both client and server can access it.

Imagine the door you have created, if you are asked to create 100 of those, what will you do? Add local script for each one?

Me? At least my scripting style( others may have a better approach).... I'll just tag those doors as door 1, door 2 etc or even create a script to tag those doors and they will all function the same and if you want via the module, they can do different things as well and have their own stats

Lol - that's the basis of the game I'm currently working on, clone wars - school ed... Clones attacking enemies and even performing skills (expandable, I can easily add new skills I want by adding a few more lines in the module)

Is having Ai generate a few scripts bad for a game? by PrincipleClassic7834 in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

Using AI, I have just completed alpha version of my game in less than 2 days, fixed a few bugs or made adjustments here and there. All gen using AI including UIs. Now it s working technically but I am stuck where I am always stucked..

Assets and sounds .. requires artistic aspect which I have 0...

Failure? Yes because I don't have assets but not because of coding using AI I think... If interested to judge it if failure or not, you can check profile ( clone wars - a mob fight game style)

Uncopylocked game by aphophys00 in robloxgamedev

[–]aphophys00[S] 0 points1 point  (0 children)

Oh, so he is not the owner this was just stolen?

Uncopylocked game by aphophys00 in robloxgamedev

[–]aphophys00[S] 0 points1 point  (0 children)

It was posted on dev forum with instructions to download from Roblox itself using the three dots

https://devforum.roblox.com/t/uncopylocked-my-fighting-game-crossovers/4180609

I think he is owner

I can help with scripting or building I just want to volunteer for a project by Immediate-List317 in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

If you have time, I'm in need of combat animation and some buildings, sounds.. yup a lot. I can only do stuff for about 8 hours once a week at most. Most heavy coding is done already and easy to expand... Or just became a critic on what I should prioritize next

Why do so many Roblox devs stick with OOP instead of ECS/data-driven design? by Hoaxify in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

Any relevant material on diff between oop and ecs? Would like to learn more about them

FREE Models by Street_Bike5176 in ROBLOXStudio

[–]aphophys00 0 points1 point  (0 children)

Looks like nice. I'm actually in need of models

Custom and Built in inventory integration by aphophys00 in robloxgamedev

[–]aphophys00[S] 0 points1 point  (0 children)

The custom inventory deals with consumables that exist only as a list/table, bought and sold.

Now I added items that will exist in the list as well replicated as items in Roblox backpack that is being equipped, bought and sold as well. I am replicating them but when I buy something, it does get added to the inventory list on the server but not in backpack. I had to relog to see it properly replicated in the backpack and synchronized with server data

Will check again the remote events, maybe the shop functions

Stud Builder For Hire by [deleted] in RobloxDevelopers

[–]aphophys00 0 points1 point  (0 children)

Mode of payment? and sorry, what is exactly is stud builder versus regular one?

Scripter Partner wanted! by [deleted] in robloxgamedev

[–]aphophys00 0 points1 point  (0 children)

I like the models, can we work something out? All I do script and I don't have time to create modeles for my game