Jump to content
MakeWebGames

rockwood

Members
  • Posts

    425
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by rockwood

  1. are you using shared hosting? that is painful stuff XD
  2. i am there already
  3. wow
  4. JavaScript helps make frontend development simpler, more efficient, and visually appealing.
  5. awesome work
  6. I’m genuinely impressed he’s still active here. Much respect—cheers, bro, and Happy New Year!
  7. $data = []; $placed = []; foreach ($locations as $location) { // Hook $location = (new Hook("alterModuleData"))->run([ "module" => "travel", "user" => $this->user, "data" => $location ], 1)["data"]; // Map $map = (!empty($location['L_map']) && file_exists($location['L_map'])) ? $location['L_map'] : "themes/" . _setting('theme') . "/assets/img/pages/travel/map.png"; [$width, $height] = getimagesize($map); // Leader name $leader = "None"; if ($location['L_leader']) { $leader = (new Gang($location['L_leader']))->getGang()['name']; } // Random position (no overlap) $pos = $this->randomPosition($width, $height, $placed); $placed[] = $pos; // Result $data[] = [ "location" => $location["L_name"], "color" => $location["L_color"], "x" => $pos['x'], "y" => $pos['y'], "cost" => $location["L_cost"], "id" => $location["L_id"], "leader" => $leader, "cooldown" => $this->timeLeft($location["L_cooldown"]) ]; }
  8. merry Christmas
  9. Everyone’s still around 🙂🎮 Real life has us busy, and things have changed, but the passion for games and coding unique ideas is still here 💻🔥🕹️
  10. can i see yours game?
  11. i am the big hater of : global $db, $set;
  12. PHP is still going strong, and Laravel, combined with Breeze, takes it to a whole new level of simplicity and power.
  13. what kind of project you are doing?
  14. Glad to see MySQLi is still in use!
  15. I'm glad to see this community remains active and that most members are ready to support one another.
  16. I used to code for the community, but life got pretty busy. Now I’m ready to dive back in—and if anyone’s interested in joining, I’d be really happy to collaborate. I’m restarting the project and plan to be super active with it!
  17. looks impressive
  18. welcome here Ollie
  19. really?
  20. Nice.
  21. V2 is slightly better than V1, but it still needs significant improvements. However, it’s a good fresh start, and we need to work harder on it.
  22. The "chmod" command does not work in a standard Windows CMD because it is a Unix command, not native to Windows; to use "chmod" on Windows, you need to either use a Unix-like environment like Cygwin or the Windows Subsystem for Linux (WSL) to access its functionality.
  23. This website has been suspended. If you are the owner of this website, kindly contact your hosting provider for more information.
  24. <script> export default { data() { return { userNavigation: [ { name: 'Your Profile', href: '/profile' }, { name: 'Settings', href: '/settings' }, { name: 'Logout', href: '/logout', method: 'post', as: 'button', type: 'button' }, ], isMenuOpen: false, // Toggle for dropdown menu }; }, methods: { toggleMenu() { this.isMenuOpen = !this.isMenuOpen; }, closeMenu() { this.isMenuOpen = false; }, }, }; </script> <template> <div class="relative"> <!-- Trigger Button --> <button @click="toggleMenu" class="px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded-md focus:outline-none"> Menu </button> <!-- Dropdown Menu --> <div v-if="isMenuOpen" @click.outside="closeMenu" class="absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-black/5 focus:outline-none" > <MenuItem v-for="item in userNavigation" :key="item.name" v-slot="{ active }"> <Link :href="item.href" :method="item.method" :as="item.as" :type="item.type" :class="[active ? 'bg-gray-100 outline-none' : '', 'block px-4 py-2 text-sm text-gray-700']" > {{ item.name }} </Link> </MenuItem> </div> </div> </template> <style> /* Add custom styles as necessary */ </style> try this way
  25. Ah okay
×
×
  • Create New...