TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:20 PM |
All you'd need would be static maps (or dynamically made ones), use GetTouchingParts, CFrame lerp the men count, and use magnitude to tell if soldiers encounter eachother, and add a pathfinding of connected parts to get the fastest way to the destination, yes?
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
| |
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:22 PM |
i could make Risky Strats but better in like a day or less
i intend to do that
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 02:24 PM |
Please do share with a progress log/ some sort of open source with it, Im interested in making on myself, love analyzing other peoples code, and seeing how much differently i would do something.
I dont use signatures. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 02:24 PM |
| The beauty of these games is how everything ties in together so well, how unique they are, and how well executed these games are. |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:25 PM |
yeah i might
i always really liked Risky Strats and Territory Conquest but i feel i can make it more interesting so i will
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
| |
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:26 PM |
"The beauty of these games is how everything ties in together so well, how unique they are, and how well executed these games are."
yeah but it'd be very easy to make it better than either of them provided you have the general framework done
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:26 PM |
"Keep us posted TwoRivers."
that i shall
i have a few hours to finish my lions game and hopefully should get on the front page again today
after that it's to work on the RTS
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 02:31 PM |
What did you get on the front page with?
My names apoc halp |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:32 PM |
http://www.roblox.com/games/277596227/Lion-RP-2-0-TODAY
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
| |
|
A2D8
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 548 |
|
|
| 02 Sep 2015 02:43 PM |
It'd be easier if you just ditched all of that and started from the bottom instead of trying to work your way down through ROBLOX's wonky physics API. By that, I mean, you shouldn't have to deal with :GetTouchingParts, you shouldn't have to deal with magnitude or anything like that. You should know what nodes there are and what soldiers are there, and your code should create a "view" of the logic, which is separate.
Maybe you should work on learning better programming practices before you criticize! |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 02:45 PM |
"Maybe you should work on learning better programming practices before you criticize!"
Um, what is this even in reference to?
"It'd be easier if you just ditched all of that and started from the bottom instead of trying to work your way down through ROBLOX's wonky physics API. By that, I mean, you shouldn't have to deal with :GetTouchingParts, you shouldn't have to deal with magnitude or anything like that. You should know what nodes there are and what soldiers are there, and your code should create a "view" of the logic, which is separate."
That's not dynamic enough and not really worth it. I don't see a point in this.
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
A2D8
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 548 |
|
|
| 02 Sep 2015 03:01 PM |
Then you don't really know what you're doing. This was obvious from your initial post, though.
Why waste your time and the server's CPU's time? You should look up the MVC paradigm, it could teach you a lot. The way you're going about it, your game logic will be too tied up with the presentation and you *will* run into trouble trying to expand upon it. What if you wanted to change how something looks without changing how the game works? |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 03:10 PM |
*Smacks A2D8 with a keyboard* Get out! If you want to help, give us links, information, scripts, concise HELPFUL sentences! If you want to criticize, go to another forum and share your doubts with someone who cares!
"Scripting is like magic from a book, the only limit is the writers imagination" |
|
|
| Report Abuse |
|
|
A2D8
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 548 |
|
|
| 02 Sep 2015 03:12 PM |
Well, now you're just being silly. Read some of the entries on this page:
http://c2.com/cgi/wiki?ModelViewController
You can thank me later for making you a better programmer. |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 03:23 PM |
"Then you don't really know what you're doing. "
You are like one of those new Scripters who just found out that the best thing ever is to remove the parentheses on everything possible BECUZ EFFICNEICIEZ1111.
That is completely unnecessary.
The node system will be as dynamic as I need it to be and the maps are fairly small, so I really have no reason to do anything else.
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Sep 2015 03:23 PM |
| As stupid as a2d8 is, he has a point. There should be no need to use GetTocuhingParts/etc, you could be far more efficient if you have a lookup table. |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 03:23 PM |
"What if you wanted to change how something looks without changing how the game works?"
Than I alter how something looks and let the node "algorithm" do it's work as it would normally????
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 03:24 PM |
"As stupid as a2d8 is, he has a point. There should be no need to use GetTocuhingParts/etc, you could be far more efficient if you have a lookup table."
GetTouchingParts is used to make the data structure itself, not to actually do anything in it of itself. Like a helper function.
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
A2D8
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 548 |
|
|
| 02 Sep 2015 03:31 PM |
| Man, you guys are just rock bottom. |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 03:33 PM |
"Man, you guys are just rock bottom."
So can you please explain to me why it is *soooooo awful* to have GetTouchingParts set up the data structure?
If I want to change the framework I change how I enter the data into the data structure. It'd be very easy for me to redo.
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|
A2D8
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 548 |
|
|
| 02 Sep 2015 03:34 PM |
| Because you're letting ROBLOX control how your game functions. ROBLOX is unpredictable. It is far less work to create your data structure yourself and create the visual representation from it. |
|
|
| Report Abuse |
|
|
TwoRivers
|
  |
| Joined: 25 Aug 2011 |
| Total Posts: 2821 |
|
|
| 02 Sep 2015 03:37 PM |
If I want to create the data structure myself later on I just write a new function call. It's not necessary. The amount of effort is definitely not worth it.
-TwoRivers/Iterum/100+ accounts |
|
|
| Report Abuse |
|
|