Author: pvadmin

  • ringsCE engine changes

    Hello,

    We made a few changes, now you can clone the repo for Sites, we are working on a WIP for SaaS with vue, php8 and wordpress plugin.

    We are going to see the changes in the few days.

    As we all can see the improvements for the engine. The next pie chart you can see the changes on the site SaaS.

    git clone --recursive https://github.com/ringsce/west.git

    With this command you can see the changes we have been working.

    Notice: Site is a WIP for now. You must update the Site after we tell.

  • cmake for freepascal

    Today, we are going to learn how to use cmake for freepascal on a macOS.

    cmake_minimum_required(VERSION 3.8)
    project(ringsce)
    
    # Set the path to your Free Pascal compiler
    set(FPC_PATH "/opt/homebrew/bin/fpc")
    
    # Set the path to your C++ compiler (e.g., Clang)
    set(CXX_COMPILER "/usr/bin/clang++")
    
    # Find Lua
    find_package(Lua 5.4 REQUIRED)
    
    if (Lua_FOUND)
        message("Lua found: ${Lua_INCLUDE_DIR}")
        include_directories(${Lua_INCLUDE_DIR})
        #target_link_libraries(ringsce ${Lua_LIBRARIES})
    else()
        message("Lua not found")
    endif()
    
    
    # Set the path to your Free Pascal source files
    set(FPC_SOURCE_FILES
        components/hud/hud.pas
        components/firstsetup.pas
        components/udp/udp.pas
        components/window/window.pas
        # Add more Pascal source files if needed
    )
    
    # Set the path to your C++ source files
    set(CXX_SOURCE_FILES
        your_cpp_source_file1.cpp
        your_cpp_source_file2.cpp
        # Add more C++ source files if needed
    )
    
    # Add the subdirectory containing the Free Pascal source files
    add_subdirectory(ringsce-editor)
    
    
    # Compile your Free Pascal files
    foreach(SOURCE_FILE ${FPC_SOURCE_FILES})
        get_filename_component(FILE_NAME ${SOURCE_FILE} NAME_WE)
        add_custom_command(
            OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}.o
            COMMAND ${FPC_PATH} -Mobjfpc -Scghi -Cg -O1 ${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_FILE}
            DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_FILE}
            COMMENT "Compiling ${SOURCE_FILE}"
            ERROR_VARIABLE FPC_COMPILE_ERROR
        )
        list(APPEND OBJECT_FILES ${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}.o)
        if(FPC_COMPILE_ERROR)
            message(FATAL_ERROR "Compilation of ${SOURCE_FILE} failed: ${FPC_COMPILE_ERROR}")
        endif()
    endforeach()
    
    # Compile your C++ files
    foreach(SOURCE_FILE ${CXX_SOURCE_FILES})
        get_filename_component(FILE_NAME ${SOURCE_FILE} NAME_WE)
        add_custom_command(
            OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}.o
            COMMAND ${CXX_COMPILER} -c ${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_FILE} -o ${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}.o
            DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_FILE}
            COMMENT "Compiling ${SOURCE_FILE}"
            ERROR_VARIABLE CXX_COMPILE_ERROR
        )
        list(APPEND OBJECT_FILES ${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}.o)
        if(CXX_COMPILE_ERROR)
            message(FATAL_ERROR "Compilation of ${SOURCE_FILE} failed: ${CXX_COMPILE_ERROR}")
        endif()
    endforeach()
    
    # Link all object files to create the executable
    add_custom_target(${PROJECT_NAME} ALL DEPENDS ${OBJECT_FILES})
    
    # Add a custom command to copy the executable to the desired location
    add_custom_command(
        TARGET ${PROJECT_NAME}
        POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_NAME} ${CMAKE_CURRENT_BINARY_DIR}/your_executable_name
        COMMENT "Copying executable to the binary directory"
    )
    
    mkdir build && cd build
    cd build
    cmake ../
  • mermaid.js pie and chart

    Hello readers,

    Today we are going to learn how to use mermaid.js for pie and chart graphics with markdown pages.

    flowchart TD
        A[ringsCE] -->|WIP| B(Initial)
        B --> C{Folders}
        C -->|One| D[macOS m1+]
        C -->|Two| E[asm intel ]
        C -->|Three| F[docs]
    
    pie title ringsce adopted by kd
        "arm": 10
        "c++": 30
        "Delphi": 50
    
    

    Next week, we are going to learn how to use them, with my gatsby docs.gleentech.com repo for ringsce Engine and Ekron MMO.

  • Cómo usar lazarus ide en macOS

    Hola lectores,

    Primero vamos hacer la instalación de brew.sh

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    Después hacer la instalación de freepascal y lazarus.

    Para nosotros es una actualización.

    Ahora tenemos que abrir la carpeta del proyecto.

    git clone --recursive https://github.com/ringsce/west.git

    Abrir el proyecto en la carpeta ringsce-editor y abrir el project1.lpi

    Para terminar, pulsar compile y debugging.

    compile
    run without debugging

    En proximo artículo tenemos una explicación como hacer “modulos” para la plataforma ringsCE.

  • How to use lazarus ide on macOS

    Hello readers,

    Today, we are going to learn how to use lazarus ide for command line on macOS.

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    First, you must install brew.sh then do

    brew install fpc lazarus

    For us, it’s an upgrade not a true installment.

    git clone --recursive https://github.com/ringsce/west.git

    After cloning, open the project inside ringsce-editor intel, then open project1.lpi

    compile
    run without debugging

    Next time we are going to learn how to make modules for ringsCE platform.

  • Cómo usar git

    Hoy, tenemos un tutorial sobre git submodules.

    En este tutorial tenemos 4 comandos como ejemplo.

    Para hacerlo, tenemos que hacer un clone o fork de un repo que kreatyve designs tiene en github.

    git clone https://github.com/ringsce/west.git

    Ahora tenemos que que abrir el fichero README.md

    poner este codigo en README.md
    ## Site
    MMO sign up website
    git add .
    git commit -m "added website for sign up"
    git push -u --force

    Después tenemos el fork

    mkdir test && cd test
    git clone --recursive https://github.com/ringsce/west.git
    
  • How to use git

    Today, we are going to learn how to use git submodules on any kind of project.

    We are going to git on an already open repo. We are going to learn 4 commands with git.

    First of all clone a repo, we are going to clone ringsce repo for now.

    git clone https://github.com/ringsce/west.git

    Now, open the README.md:

    open README.md
    type this on README.md
    
    ## Site
    MMO Sign up  website
    git add .
    git commit -m "added Website for sign up
    git push -u --force

    After, these changes we can see on our git fork the changes already made.

    For last, we are going to learn recursive:

    mkdir test && cd test
    git clone --recursive https://github.com/ringsce/west.git
    
  • cmake con XCode

    Hola Lectores,

    Hoy, tenemos una lección sobre cmake fichero con XCode. Ha sido testeado con un m2 “motherboard”.

    Para nosotros, tenemos la instalación. Para tí tienes que hacer la instalación.

    Ahora:

    mulle-xcode-to-cmake -b export shadow.xcodeproj > CMakeLists.txt

    Ahora es un “boilerplate”, que necesita de hacer cambios.

    mkdir build && cd build
    cmake ../
    make

    Cada vez que hacemos de cambio, tenemos que actualizar el CMakeLists.txt para cada “build”, tenemos que hacer siempre

    cd .. 
    rm -rf build
    mkdir build && cd build
    cmake ../
    make 
  • cmake with XCode

    Hello readers,

    Today, we are going to learn how to make a cmake file from XCode. We done this on a m2 motherboard.

    For us, its’ already installed. For all of you it will install.

    Now:

    mulle-xcode-to-cmake -b export shadow.xcodeproj > CMakeLists.txt

    It’s now a boilerplate for your needs, you must now add source code to the build.

    mkdir build && cd build
    cmake ../
    make

    Every time you do changes, don’t forget to update CMakeLists.txt for your build, everytime you change do this

    cd .. 
    rm -rf build
    mkdir build && cd build
    cmake ../
    make 
  • Markdown vs code

    Hello readers,

    Today, we are going to learn how to preview a markdown file with preview on vs code.

    
    #  ringsce editor
    This is an editor written with Lazarus IDE and free Pascal. Where you can use for ringsce repo to build the engine
    
    ## Our Goals
    Our goal for this project is to deliver an open-source library for JSON, XML, and database for the ringssce engine.
    
    ## Database goals
    
    Our database goals are to achieve a library capable of working with JSON and XML.
    
    ## Parser and reader
    Here, we will find a parser and a reader for processing the data inside the openkrown data file folder. This library will be inside the data-dir folder. With this parser, we can manipulate the data from the zip content folder.
    
    ## Contributions
    Every person can contribute to the project itself. Inside the contributions, we must fork.
    
    ## Contact us
    You can contact us here. Or try to chat with us at discord: plvicente
    
    ![Screenshot](RINGSCE_v2.png)
    
    
    
    cmd + shift + v
coder by Gleentech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.